[issue16802] fileno argument to socket.socket() undocumented

Dec. 31, 2012
6:50 a.m.
Richard Oudkerk added the comment:
There is an alternative (documented) interface:
socket.fromfd(handle, socket.AF_INET, socket.SOCK_STREAM).close()
socket.fromfd() duplicates the handle, so that does not close the original handle. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16802> _______________________________________
4461
Age (days ago)
4461
Last active (days ago)
0 comments
1 participants
participants (1)
-
Richard Oudkerk