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 loth
Recipients
Date 2002-03-10.08:16:00
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
As noted in Bug #527816, if you call the __nonzero__
method of a builtin type directly it will SIGSEGV you.
 The reason is that internally the nonzero slot is
being called with "PyObject *(*) (PyObject *)" casting,
rather than the actual "int (*) (PyObject *)".  This
small patch adds a new static function that's just a
copy of wrap_hashfunc and gets it called properly later on.

If this isn't how we want bugfixes handled, please
advise and I'll revise.
History
Date User Action Args
2007-08-23 15:11:33adminlinkissue528038 messages
2007-08-23 15:11:33admincreate