Message136350
http://docs.python.org/py3k/howto/sockets.html#non-blocking-sockets
"And if you put a socket in more than one input list, it will only be (at most) in one output list."
>>> import socket
>>> s = socket.socket()
>>> s.connect(('localhost', 22))
>>> import select
>>> select.select([s], [s], [])
([<socket._socketobject object at 0xb764333c>], [<socket._socketobject object at 0xb764333c>], [])
>>> |
|
Date |
User |
Action |
Args |
2011-05-20 00:23:52 | exarkun | set | recipients:
+ exarkun, docs@python |
2011-05-20 00:23:52 | exarkun | set | messageid: <1305851032.27.0.6340611371.issue12126@psf.upfronthosting.co.za> |
2011-05-20 00:23:51 | exarkun | link | issue12126 messages |
2011-05-20 00:23:51 | exarkun | create | |
|