diff options
Diffstat (limited to 'Doc/whatsnew/3.2.rst')
-rw-r--r-- | Doc/whatsnew/3.2.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 609511b..533d038 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -434,6 +434,14 @@ New, Improved, and Deprecated Modules (Contributed by Giampaolo RodolĂ ; :issue:`9794`.) +* :class:`asyncore.dispatcher` now provides a + :meth:`~asyncore.dispatcher.handle_accepted()` method + returning a `(sock, addr)` pair which is called when a connection has actually + been established with a new remote endpoint. This is supposed to be used as a + replacement for old :meth:`~asyncore.dispatcher.handle_accept()` and avoids + the user to call :meth:`~asyncore.dispatcher.accept()` directly. + + (Contributed by Giampaolo RodolĂ ; :issue:`6706`.) Multi-threading =============== |