[issue33118] No clean way to get notified when a Transport's write buffer empties out

Vitaly Kruglikov report at bugs.python.org
Thu Mar 22 14:26:05 EDT 2018


Vitaly Kruglikov <vitaly.krug at gmail.com> added the comment:

Yet another paradigm is the likes of `GSource` in gnome's glib. GSource "tasks" added to the event loop are polled by the event loop for readiness before the event loop blocks on select/epoll/etc.. The ones that are ready are removed from the loop and their callbacks are dispatched.

I suppose that it would also be difficult to get buy-in for a feature like this from the different frameworks?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33118>
_______________________________________


More information about the Python-bugs-list mailing list