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-24.15:18:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477322303.99.0.25931599409.issue28447@psf.upfronthosting.co.za>
In-reply-to
Content
Your example does not show a destroyed socket object, so to what are you referring?  Python won't recycle an object as garbage until there are no remaining references to it.

If you think that there is information the socket object "knows" that it is throwing away when the socket is closed, you might be correct (I haven't checked the code), but that would be *correct* behavior at this API level and design: since the socket is no longer connected, that information is no longer valid.

Please leave the issue closed until you convince us there's a bug :)  If you want to propose some sort of enhancement, the correct forum for this level of enhancement would be the python-ideas mailing list.
History
Date User Action Args
2016-10-24 15:18:24r.david.murraysetrecipients: + r.david.murray, martin.panter, GeorgeY
2016-10-24 15:18:23r.david.murraysetmessageid: <1477322303.99.0.25931599409.issue28447@psf.upfronthosting.co.za>
2016-10-24 15:18:23r.david.murraylinkissue28447 messages
2016-10-24 15:18:23r.david.murraycreate