[Python-checkins] peps: Add two new TODOs (socket address and fork()).
guido.van.rossum
python-checkins at python.org
Thu Jan 24 06:20:12 CET 2013
http://hg.python.org/peps/rev/f2416bc05b06
changeset: 4685:f2416bc05b06
user: Guido van Rossum <guido at python.org>
date: Wed Jan 23 21:20:07 2013 -0800
summary:
Add two new TODOs (socket address and fork()).
files:
pep-3156.txt | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/pep-3156.txt b/pep-3156.txt
--- a/pep-3156.txt
+++ b/pep-3156.txt
@@ -979,6 +979,14 @@
given a file descriptor. Or when the next scheduled call is. Or
the list of file descriptors registered with callbacks.
+- 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.
+
+- Need to handle os.fork(). (This may be up to the selector classes
+ in Tulip's case.)
+
- 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