Michael Broghton <mbrough...@advanis.ca> added the comment: I'm not sure how to patch this so that it will work on both 32 and 64 bit systems. Issues:
1. What would be an appropriate member type for ident in kqueue_event_members? It seems like T_PYSSIZET might work. Otherwise, I am guessing that this will involve some #if's. 2. I think the format spec in kqueue_event_repr needs to change. It seems like this will also require some #if's. 3. kqueue_event_init uses PyObject_AsFileDescriptor to set the ident field. This should be doing a PyLong_Check first to see if PyLong_AsSomething would be more appropriate. 4. I think the type of the result variable in kqueue_event_richcompare needs to be changed to long long int. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7211> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com