Add two new TODOs (socket address and fork()).

This commit is contained in:
Guido van Rossum 2013-01-23 21:20:07 -08:00
parent 8a14fbd281
commit 9c9f54697a
1 changed files with 8 additions and 0 deletions

View File

@ -979,6 +979,14 @@ Open Issues
given a file descriptor. Or when the next scheduled call is. Or given a file descriptor. Or when the next scheduled call is. Or
the list of file descriptors registered with callbacks. 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 - 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
(because to wait for a lock we'd have to use ``yield from``, which (because to wait for a lock we'd have to use ``yield from``, which