[Python-Dev] Strange behavior in Python 2.5a0 (trunk) --- possible error in AST?

Nick Coghlan ncoghlan at gmail.com
Mon Mar 13 23:18:29 CET 2006


Travis E. Oliphant wrote:
> Nick Coghlan wrote:
>> And how...
>>
>>    case Ellipsis_kind:
>>      ADDOP_O(c, LOAD_CONST, Py_Ellipsis, consts)
>>      break;
>>
>> Just a couple of minor details missing, like, oh, compiling the actual 
>> subscript operation :)
>>
>> Bug here: http://www.python.org/sf/1448804
>>
>> (assigned to myself, since I already wrote a test for it and worked out where 
>> to fix it)
> 
> Fabulous!  The fix committed to SVN seems to work.
> 
> Now, all of numpy's unit tests are passing with Python 2.5a0.
> 
> Great work, thank you.

Unfortunately my new test case breaks test_compiler. I didn't notice because I 
didn't use -uall before checking it in :(

If no-one else gets to it, I'll try to sort it out tonight.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-Dev mailing list