Message279127
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. |
|
Date |
User |
Action |
Args |
2016-10-21 13:44:40 | r.david.murray | set | recipients:
+ r.david.murray, martin.panter, GeorgeY |
2016-10-21 13:44:40 | r.david.murray | set | messageid: <1477057480.4.0.490085495686.issue28447@psf.upfronthosting.co.za> |
2016-10-21 13:44:40 | r.david.murray | link | issue28447 messages |
2016-10-21 13:44:40 | r.david.murray | create | |
|