[Python-checkins] peps: Get rid of add_connector(). The code will follow suit soon.
guido.van.rossum
python-checkins at python.org
Tue Feb 5 23:15:10 CET 2013
http://hg.python.org/peps/rev/abfbb4ee96a6
changeset: 4717:abfbb4ee96a6
user: Guido van Rossum <guido at python.org>
date: Tue Feb 05 14:15:06 2013 -0800
summary:
Get rid of add_connector(). The code will follow suit soon.
files:
pep-3156.txt | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/pep-3156.txt b/pep-3156.txt
--- a/pep-3156.txt
+++ b/pep-3156.txt
@@ -399,13 +399,6 @@
- ``remove_writer(fd)``. This is to ``add_writer()`` as
``remove_reader()`` is to ``add_reader()``.
-- ``add_connector(fd, callback, *args)``. Like ``add_writer()`` but
- meant to wait for ``connect()`` operations, which on some platforms
- require different handling (e.g. ``WSAPoll()`` on Windows).
-
-- ``remove_connector(fd)``. This is to ``remove_writer()`` as
- ``add_connector()`` is to ``add_writer()``.
-
TBD: What about multiple callbacks per fd? The current semantics is
that ``add_reader()/add_writer()`` replace a previously registered
callback. Change this to raise an exception if a callback is already
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list