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 Ben.Darnell
Recipients Ben.Darnell, asvetlov, gvanrossum, pitrou, yselivanov
Date 2017-11-16.04:14:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510805687.44.0.213398074469.issue32038@psf.upfronthosting.co.za>
In-reply-to
Content
It's worse than a resource leak - the same file descriptor number could be reused for a different file/socket, and then depending on the selector in use, you could see the data from a completely different connection. 

I did see a bug like this years ago (in libcurl), although it's not a common problem. I'd use the proposed hook if it existed, but it seems like an intrusive solution to a rare issue.
History
Date User Action Args
2017-11-16 04:14:47Ben.Darnellsetrecipients: + Ben.Darnell, gvanrossum, pitrou, asvetlov, yselivanov
2017-11-16 04:14:47Ben.Darnellsetmessageid: <1510805687.44.0.213398074469.issue32038@psf.upfronthosting.co.za>
2017-11-16 04:14:47Ben.Darnelllinkissue32038 messages
2017-11-16 04:14:47Ben.Darnellcreate