[issue27377] Add socket.fdtype()
Neil Schemenauer
report at bugs.python.org
Fri Apr 28 16:40:40 EDT 2017
Neil Schemenauer added the comment:
Changing title, I think #28134 (socket.socket(fileno=fd) does not work as documented) is a cleaner solution. However, exposing the ability to query a socket file descriptor seems useful so I'm still proposing to add socket.fdtype().
The github PR 1348 has been modified to remove fromfd2() and only add the function fdtype().
----------
title: Add smarter socket.fromfd() -> Add socket.fdtype()
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27377>
_______________________________________
More information about the Python-bugs-list
mailing list