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 vstinner
Recipients Ben.Darnell, asvetlov, gvanrossum, pitrou, vstinner, yselivanov
Date 2017-11-16.17:05:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510851936.61.0.213398074469.issue32038@psf.upfronthosting.co.za>
In-reply-to
Content
> Perhaps you can just dup() the socket? That's what the ref counter is for IIRC.

Sure. That's another option.

But for asyncio with a lot of concurrent users, I'm not sure that it's ok to create a temporary file descriptor, since there is a risk of hitting the maximum number of open file descriptors :-(

Depending on the platform and the event loop implementation, the limit may be low.
History
Date User Action Args
2017-11-16 17:05:36vstinnersetrecipients: + vstinner, gvanrossum, pitrou, asvetlov, Ben.Darnell, yselivanov
2017-11-16 17:05:36vstinnersetmessageid: <1510851936.61.0.213398074469.issue32038@psf.upfronthosting.co.za>
2017-11-16 17:05:36vstinnerlinkissue32038 messages
2017-11-16 17:05:36vstinnercreate