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 nirs
Recipients brett.cannon, eric.snow, josh.r, ncoghlan, nirs, pmpp, serhiy.storchaka, twouters, vstinner, yselivanov
Date 2018-03-08.11:28:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520508519.07.0.467229070634.issue33021@psf.upfronthosting.co.za>
In-reply-to
Content
Python cannot protect raw file descriptor from bad multi-threaded
application. For example the application may close a file descriptor twice
which may lead to closing unrelated file descriptor created by another
thread just after it was closed, before the second close.

This issue affects all function using raw file descriptors, and we cannot
protect them with the GIL.

Even if fstat was not thread safe, we cannot protect it using the GIl
since this blocks the entire application until fstat returns.
History
Date User Action Args
2018-03-08 11:28:39nirssetrecipients: + nirs, twouters, brett.cannon, ncoghlan, vstinner, pmpp, eric.snow, serhiy.storchaka, yselivanov, josh.r
2018-03-08 11:28:39nirssetmessageid: <1520508519.07.0.467229070634.issue33021@psf.upfronthosting.co.za>
2018-03-08 11:28:39nirslinkissue33021 messages
2018-03-08 11:28:39nirscreate