[issue27377] Add socket.fdtype()

2020-10-31 Thread Neil Schemenauer


Neil Schemenauer  added the comment:

I believe this is not needed anymore.  Closing.

--
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27377] Add socket.fdtype()

2017-04-28 Thread Neil Schemenauer

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com