Tweak TODOs.

This commit is contained in:
Guido van Rossum 2013-01-24 10:53:40 -08:00
parent aca10418a9
commit 202ebf92f7
1 changed files with 4 additions and 2 deletions

View File

@ -982,13 +982,15 @@ Open Issues
- Transports may need a method that tries to return the address of the - Transports may need a method that tries to return the address of the
socket (and another for the peer address). Although these depend on socket (and another for the peer address). Although these depend on
the socket type and there may not always be a socket; then it should the socket type and there may not always be a socket; then it should
return None. return None. (Alternatively, there could be a method to return the
socket itself -- but it is conceivable that a transport implements
IP connections without using sockets, and what should it do then?)
- Need to handle os.fork(). (This may be up to the selector classes - Need to handle os.fork(). (This may be up to the selector classes
in Tulip's case.) in Tulip's case.)
- Perhaps start_serving() needs a way to pass in an existing socket - Perhaps start_serving() needs a way to pass in an existing socket
(e.g. gunicorn would need this). (e.g. gunicorn would need this). Ditto for create_connection().
- We might introduce explicit locks, though these will be a bit of a - We might introduce explicit locks, though these will be a bit of a
pain to use, as we can't use the ``with lock: block`` syntax pain to use, as we can't use the ``with lock: block`` syntax