Get rid of add_connector(). The code will follow suit soon.

This commit is contained in:
Guido van Rossum 2013-02-05 14:15:06 -08:00
parent aaf02428db
commit 40139af383
1 changed files with 0 additions and 7 deletions

View File

@ -399,13 +399,6 @@ i.e. no disk files.
- ``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