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 <rep...@bugs.python.org>
<http://bugs.python.org/issue27377>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to