Adam Olsen added the comment: The python API has the advantage that you can test for it at runtime, avoiding a compile-time check. I don't know if this is significant though.
I don't see the big deal about a C API. All you need to do is call PyImport_ImportModule("signal") and PyObject_CallMethod(mod, "set_wakeup_fd", "i", fd); __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1583> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com