[IPython-dev] Win32 - call for pyreadline testing

Jörgen Stenarson jorgen.stenarson at bostream.nu
Mon Apr 16 15:21:27 EDT 2007


I think I have isolated the problem. The attached patch duplicates some 
code from higher up in the function to create the global and local name 
spaces. I don't know enough about this function to be sure if the patch 
is correct but it removed the problem reported for me.


Fernando Perez skrev:
> On 4/11/07, aldarion <erendisaldarion at gmail.com> wrote:
>> ok,here is the error, the foo.py is just something like "print 'test'""
>> [C:\Documents and
>> Settings\Administrator\Desktop\note]c:\Python25\python.exe
>> c:\
>> Python25\scripts\ipython foo.py
>> ---------------------------------------------------------------------------
>> <type 'exceptions.IndexError'>            Traceback (most recent call last)
>> <type 'exceptions.IndexError'>: tuple index out of range
>> WARNING: Failure executing file: <foo.py >
> Darn.  Unfortunately that traceback doesn't tell me much.
> I'm afraid this will stay at this point: I have a number of things to
> take care of and will be mostly offline until next Wednesday or so.
> If anyone comes up with a patch for this, great.  If it's small I
> might be able to sneak in and commit it, but that's about it.
> Obviously if Jorgen is back, I'm sure he'll be able to clean things up on win32.
> Again, thanks to users for the help.
> Cheers,
> f
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://lists.ipython.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/applefile
Size: 1483 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20070416/c529795f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iplib.patch
Type: application/octet-stream
Size: 880 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20070416/c529795f/attachment.obj>

More information about the IPython-dev mailing list