This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sdeibel
Recipients sdeibel
Date 2008-02-27.21:47:38
SpamBayes Score 0.0275957
Marked as misclassified No
Message-id <>
The algorithm in code_hash() in codeobject.c can return the same hash
value for different code objects.  

Presumably distinct code objects should be very unlikely to have the
same hash value.  This bug affected our debugger before we worked around
it, and it could affect other things like profilers.

Adding the co_filename to the hash would be one way to fix this but I'm
not sure if that was purposely avoided in this code?
Date User Action Args
2008-02-27 21:47:41sdeibelsetspambayes_score: 0.0275957 -> 0.0275957
recipients: + sdeibel
2008-02-27 21:47:40sdeibelsetspambayes_score: 0.0275957 -> 0.0275957
messageid: <>
2008-02-27 21:47:39sdeibellinkissue2198 messages
2008-02-27 21:47:38sdeibelcreate