[Python-checkins] peps: One more TODO: pass socket to start_serving().
guido.van.rossum
python-checkins at python.org
Thu Jan 24 06:26:43 CET 2013
http://hg.python.org/peps/rev/434ec0251c2f
changeset: 4686:434ec0251c2f
user: Guido van Rossum <guido at python.org>
date: Wed Jan 23 21:26:32 2013 -0800
summary:
One more TODO: pass socket to start_serving().
files:
pep-3156.txt | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/pep-3156.txt b/pep-3156.txt
--- a/pep-3156.txt
+++ b/pep-3156.txt
@@ -987,6 +987,9 @@
- 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).
+
- 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
(because to wait for a lock we'd have to use ``yield from``, which
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list