On Tue, 25 Sep 2018 09:09:26 -0600 Eric Snow <ericsnowcurren...@gmail.com> wrote: > On Tue, Sep 25, 2018 at 1:45 AM Victor Stinner <vstin...@redhat.com> wrote: > > Please don't rely on this ugly API. *By design*, Py_AddPendingCall() > > tries 100 times to acquire the lock: if it fails to acquire the lock, > > it does notthing... your callback is ignored... > > Yeah, there are issues with pending calls as implemented. > Furthermore, I'm not clear on why it was made a public API in the > first place.
I don't know, but I think Eve Online used the API at some point (not sure they're still Python-based nowadays). Perhaps Kristján may confirm if he's reading this. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com