'?' and '??' fail under Sun OS
Bug #434669 reported by
psismurf
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Any attempt to get object information using the '?' or '??' operators causes the session to lock up and become unresponsive to any keystrokes (including Ctrl-C and -Z). The help(obj) command however works as advertised. This occurs under both sparc and x86 installations running the same python builds and ipython versions.
Python 2.6.2 (r262:71600, May 27 2009, 13:06:14) [C]
IPython 0.10 -- An enhanced Interactive Python.
SunOS 5.10 Generic_138888-08 sun4u sparc SUNW,Sun-Fire-280R
and also under
SunOS 5.10 Generic_127112-03 i86pc i386 i86pc
To post a comment you must log in.
Hi,
On Tue, Sep 22, 2009 at 7:25 AM, psismurf <email address hidden> wrote:
> Public bug reported:
>
> Any attempt to get object information using the '?' or '??' operators
> causes the session to lock up and become unresponsive to any keystrokes
> (including Ctrl-C and -Z). The help(obj) command however works as
> advertised. This occurs under both sparc and x86 installations running
> the same python builds and ipython versions.
I have a strong suspicion this is due to a bug in solaris curses.
Could you run this in a normal python session and see if it locks up
also?
import termios, curses, sys
if 1:
term_ flags = termios. tcgetattr( sys.stdout)
screen_ lines_real, screen_ cols = scr.getmaxyx()
curses. endwin( )
termios. tcsetattr( sys.stdout, termios. TCSANOW, term_flags)
scr = curses.initscr()
# Restore terminal state in case endwin() didn't.
If so, can you let us know what os.name and sys.platform return on
your machine? We may have to avoid that code altogether in solaris...
Cheers,
f