[IPython-user] Re: Re: exception with help()

Fernando Perez Fernando.Perez at colorado.edu
Mon Mar 8 16:44:41 CST 2004


Hi,

a bit more info on this, from another c.l.py poster.  I'm reproducing his 
message below verbatim.  Note, however, that even if an upgrade fixes things, 
I'm deeply puzzled by the difference in behavior between plain python and 
ipython.  I consider such occurrences bugs always: ipython should behave 100% 
like python, except where it extends python's default capabilities.

Cheers,

f.

===========================================================================
Miki Tebeka wrote:

 > Hello Fernando,
 >
 >> We've narrowed it down to the following.  Under ipython, here is what he
 >> gets with a popen() call:
 >>
 >> ,---
 >> | Python 2.3.3 (#1, Dec 30 2003, 08:29:25)
 >> | Type "copyright", "credits" or "license" for more information.
 >> |
 >> | IPython 0.5.0 -- An enhanced Interactive Python.
 >> | ?       -> Introduction to IPython's features.
 >> | @magic  -> Information about IPython's 'magic' @ functions.
 >> | help    -> Python's own help system.
 >> | object? -> Details about 'object'. ?object also works, ?? prints more.
 >> | 1% import os
 >> | 2% xmode Verbose
 >> | Exception reporting mode: Verbose
 >> | 3% pipe=os.popen('less','w')
 >> |      10 [main] python2.3 2896 sync_with_child: child 3032(0x6D4) died
 >> |      before
 >> initialization with status code 0x1
 >> |    9375 [main] python2.3 2896 sync_with_child: *** child state child
 >> |    loading
 >> dlls
 >> | ---------------------------------------------------------------------------
 >> | OSError                                   Traceback (most recent call
 >> | last)
 >> |
 >> | /home/thorsten/<console>
 >> |
 >> | OSError: [Errno 11] Resource temporarily unavailable
 >>
 >
 > I've installed IPython 0.5.0 with `python setup.py install'
 > then:
 > ---
 > [18:46] $ipython
 > Python 2.3.3 (#1, Dec 22 2003, 11:56:28)
 > Type "copyright", "credits" or "license" for more information.
 >
 > IPython 0.5.0 -- An enhanced Interactive Python.
 > ?       -> Introduction to IPython's features.
 > @magic  -> Information about IPython's 'magic' @ functions.
 > help    -> Python's own help system.
 > object? -> Details about 'object'. ?object also works, ?? prints more.
 >
 > In [1]: import os
 >
 > In [2]: xmode verbose
 > Exception reporting mode: Verbose
 >
 > In [3]:
 > ---
 >
 > Maybe upgrade your cygwin? My dll version is 1.5.7-1
 > (run `cygcheck -s | egrep "^cygwin"' to find your version)
 >
 > HTH.
 > Miki




More information about the IPython-user mailing list