Message22742
Logged In: YES
user_id=80475
Confirmed. Also, the behavior persists into Py2.4b1.
The error disappears when the lambda is replaced by an
equivalent one line def statement:
def nextkey2(N=keynums2,K=key_src): return K[N.pop()]
The opcodes are the same for both; however, the
co_firstlineno attribute is incorrect for the lambda version.
The pure python compiler module does not make the same error.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:26:46 | admin | link | issue1048870 messages |
2007-08-23 14:26:46 | admin | create | |
|