summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.2.rst
diff options
context:
space:
mode:
authorGiampaolo Rodolà <g.rodola@gmail.com>2010-10-04 21:08:36 (GMT)
committerGiampaolo Rodolà <g.rodola@gmail.com>2010-10-04 21:08:36 (GMT)
commit977c707b425ee753d54f3e9010f07ec77ef61274 (patch)
tree580e12fd41103a684b4c24b53d43569eb69bc6a8 /Doc/whatsnew/3.2.rst
parent4c94c5363091350ed56bfbdbc6cc00e1048b456c (diff)
downloadcpython-977c707b425ee753d54f3e9010f07ec77ef61274.zip
cpython-977c707b425ee753d54f3e9010f07ec77ef61274.tar.gz
cpython-977c707b425ee753d54f3e9010f07ec77ef61274.tar.bz2
Fix issue 6706: adds new handle_accepted() method to asyncore.dispatcher
Diffstat (limited to 'Doc/whatsnew/3.2.rst')
-rw-r--r--Doc/whatsnew/3.2.rst8
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
===============