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 benhoyt, serhiy.storchaka, vstinner
Date 2016-01-02.22:38:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451774339.98.0.207054250747.issue25996@psf.upfronthosting.co.za>
In-reply-to
Content
Yeah, it was discussed when the PEP 471 was designed, but it was already hard to design os.scandir() without supporting fd as os.scandir() parameter.

It's more complex because we have to handle the lifetime of the file descriptor especially if it's exposed in a public attribute.
History
Date User Action Args
2016-01-02 22:39:00vstinnersetrecipients: + vstinner, benhoyt, serhiy.storchaka
2016-01-02 22:38:59vstinnersetmessageid: <1451774339.98.0.207054250747.issue25996@psf.upfronthosting.co.za>
2016-01-02 22:38:59vstinnerlinkissue25996 messages
2016-01-02 22:38:59vstinnercreate