From 202ebf92f701c34551e9a11da9916e01f6885d50 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 24 Jan 2013 10:53:40 -0800 Subject: [PATCH] Tweak TODOs. --- pep-3156.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pep-3156.txt b/pep-3156.txt index 7ea3dc5ba..ab99d332c 100644 --- a/pep-3156.txt +++ b/pep-3156.txt @@ -982,13 +982,15 @@ Open Issues - Transports may need a method that tries to return the address of the 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 - 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 in Tulip's case.) - 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 pain to use, as we can't use the ``with lock: block`` syntax