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 bup, gregory.p.smith, iritkatriel, neologix, pitrou, serhiy.storchaka, sstewartgallus, vstinner
Date 2021-09-20.07:57:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632124677.56.0.353992510634.issue21627@roundup.psfhosted.org>
In-reply-to
Content
Dan Snider: "On Android, if os.close_range closes the file descriptor of the scandir iterator, the interpreter immediately crashes"

I don't see anything wrong with Python. It's not different than calling os.close(3).

If it hurts, don't do that :-)
History
Date User Action Args
2021-09-20 07:57:57vstinnersetrecipients: + vstinner, gregory.p.smith, pitrou, neologix, serhiy.storchaka, sstewartgallus, bup, iritkatriel
2021-09-20 07:57:57vstinnersetmessageid: <1632124677.56.0.353992510634.issue21627@roundup.psfhosted.org>
2021-09-20 07:57:57vstinnerlinkissue21627 messages
2021-09-20 07:57:57vstinnercreate