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.027595684
Marked as misclassified No
Message-id <1204148860.69.0.229152092841.issue2198@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2008-02-27 21:47:41sdeibelsetspambayes_score: 0.0275957 -> 0.027595684
recipients: + sdeibel
2008-02-27 21:47:40sdeibelsetspambayes_score: 0.0275957 -> 0.0275957
messageid: <1204148860.69.0.229152092841.issue2198@psf.upfronthosting.co.za>
2008-02-27 21:47:39sdeibellinkissue2198 messages
2008-02-27 21:47:38sdeibelcreate