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 ncoghlan
Recipients amaury.forgeotdarc, barry, eikeon, glyph, gvanrossum, jek, ncoghlan, rhettinger, schmir
Date 2008-06-29.13:30:51
SpamBayes Score 0.006119758
Marked as misclassified No
Message-id <1214746253.17.0.227572493796.issue2235@psf.upfronthosting.co.za>
In-reply-to
Content
Unassigning for the moment - I'll take a look at adding the Py3k warning
back in at some point, but the main thing I would like now is a sanity
check from Guido or Barry (or anyone else happy to dig into the guts of
typeobject.c) that the basic idea behind my fix is sound.

It would be nice to avoid the explicit check for Py_None in
PyObject_Compare by getting update_one_slot() to replace the Py_None it
encounters in __hash__ with the default slot_tp_hash implementation, but
my attempts at doing that have all led to segfaults.

(Also, glyph, I'd love to know if my patch helps to clear up Django's
issues with 2.6b1)
History
Date User Action Args
2008-06-29 13:30:53ncoghlansetspambayes_score: 0.00611976 -> 0.006119758
recipients: + ncoghlan, gvanrossum, barry, rhettinger, amaury.forgeotdarc, schmir, jek, eikeon, glyph
2008-06-29 13:30:53ncoghlansetspambayes_score: 0.00611976 -> 0.00611976
messageid: <1214746253.17.0.227572493796.issue2235@psf.upfronthosting.co.za>
2008-06-29 13:30:52ncoghlanlinkissue2235 messages
2008-06-29 13:30:51ncoghlancreate