Federico Schwindt <federico.schwi...@gmail.com> added the comment: 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. ---------- nosy: +Federico.Schwindt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12181> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com