This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients GeorgeY, martin.panter, r.david.murray
Date 2016-10-21.13:44:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477057480.4.0.490085495686.issue28447@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-10-21 13:44:40r.david.murraysetrecipients: + r.david.murray, martin.panter, GeorgeY
2016-10-21 13:44:40r.david.murraysetmessageid: <1477057480.4.0.490085495686.issue28447@psf.upfronthosting.co.za>
2016-10-21 13:44:40r.david.murraylinkissue28447 messages
2016-10-21 13:44:40r.david.murraycreate