R. David Murray added the comment:

The socket module is a relatively thin wrapper around the C socket library.  
'getpeername' is inspecting the *current* peer of the socket, and if there is 
no current peer, there is no current peer name.  Retaining information the 
socket library does not is out of scope for the python socket library.  It 
could be done via a higher level wrapper library, but that would be out of 
scope for the stdlib unless someone develops something that is widely popular 
and used by many many people.

----------
resolution: remind -> not a bug
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28447>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to