Message256321
> I think we should focus on fixing the spec for code object equivalents. Perhaps the test can be simplified to use (co_firstlineno, co_firstrowno, co_filename).
This is not enough if the code was compiled from a string.
>>> x = eval('lambda: 1')
>>> y = eval('lambda: 1.0')
>>> x.__code__ == y.__code__
True
>>> x.__code__.co_filename == y.__code__.co_filename
True |
|
Date |
User |
Action |
Args |
2015-12-13 10:53:11 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, arigo, rhettinger, ncoghlan, donmez, ezio.melotti, r.david.murray, torsten, fijall, David MacIver, Kevin Shweh, Tijs Van Oevelen |
2015-12-13 10:53:11 | serhiy.storchaka | set | messageid: <1450003991.78.0.300753362499.issue25843@psf.upfronthosting.co.za> |
2015-12-13 10:53:11 | serhiy.storchaka | link | issue25843 messages |
2015-12-13 10:53:11 | serhiy.storchaka | create | |
|