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 Federico.Schwindt
Recipients Federico.Schwindt, neologix, nicm, rpointel, vstinner
Date 2011-06-01.23:32:06
SpamBayes Score 5.088477e-08
Marked as misclassified No
Message-id <1306971127.79.0.766082588334.issue12181@psf.upfronthosting.co.za>
In-reply-to
Content
Adding to this, the kqueue code (and test) heavily depends on the size of these members. kqueue_event_richcompare() uses a Py_intptr_t to store the result of substracting T_UINTs which is obviusly wrong on platforms where Py_intptr and T_UINTs are not the same (which is neither related to this bug nor OpenBSD specific), the test uses sys.maxint, etc.

It'd be nice if someone cleans the code to fix all these problems and adds some more tests to cover all the members in tp_richcompare.
History
Date User Action Args
2011-06-01 23:32:07Federico.Schwindtsetrecipients: + Federico.Schwindt, vstinner, nicm, neologix, rpointel
2011-06-01 23:32:07Federico.Schwindtsetmessageid: <1306971127.79.0.766082588334.issue12181@psf.upfronthosting.co.za>
2011-06-01 23:32:07Federico.Schwindtlinkissue12181 messages
2011-06-01 23:32:07Federico.Schwindtcreate