Message185975
This happens because the block search algorithm seems not to be handling lambda arguments correctly.
$ cat x.py
import inspect
def a(y):
print inspect.getsource(y)
print inspect.getsourcelines(y)
a(
lambda x:
x *
3
)
$ python x.py
lambda x:
([' lambda x:\n'], 8) |
|
Date |
User |
Action |
Args |
2013-04-03 23:13:59 | Alexey.Spiridonov | set | recipients:
+ Alexey.Spiridonov |
2013-04-03 23:13:59 | Alexey.Spiridonov | set | messageid: <1365030839.21.0.0882950227622.issue17631@psf.upfronthosting.co.za> |
2013-04-03 23:13:59 | Alexey.Spiridonov | link | issue17631 messages |
2013-04-03 23:13:59 | Alexey.Spiridonov | create | |
|