Message135015
A comment in the definition of PyCodeObject in Include/code.h says:
/* The rest doesn't count for hash or comparisons */
which, I think, makes a lot of sense. The implementation doesn't follow this comment, though. code_hash actually includes co_name and code_richcompare includes co_name and co_firstlineno. This makes hash and comparison inconsistent with each other and with the comment. |
|
Date |
User |
Action |
Args |
2011-05-03 02:11:22 | eltoder | set | recipients:
+ eltoder |
2011-05-03 02:11:22 | eltoder | set | messageid: <1304388682.39.0.687842914438.issue11983@psf.upfronthosting.co.za> |
2011-05-03 02:11:21 | eltoder | link | issue11983 messages |
2011-05-03 02:11:21 | eltoder | create | |
|