Antoine Pitrou <pit...@free.fr> added the comment: Would it be possible to rework your code so as not to define two versions of Py_AddPendingCall() and Py_MakePendingCalls(), only putting `#ifdef WITH_THREAD` sections where it's necessary? Or would it make the code too quirky?
Also, it would be nice to have a test for this specific feature (e.g. using a dedicated function in the _testcapi module), but perhaps it isn't a showstopper either. ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4293> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com