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 ncoghlan
Recipients abacabadabacaba, georg.brandl, ncoghlan, neologix, petri.lehtinen, pitrou
Date 2011-07-26.01:56:07
SpamBayes Score 1.8621578e-05
Marked as misclassified No
Message-id <1311645368.86.0.968101308186.issue12464@psf.upfronthosting.co.za>
In-reply-to
Content
I agree with Antoine - it's a simple bug introduced by the attempt to allow temporary directories to be correctly cleaned up during interpreter shutdown.

The race condition due to the usage of LBYL is shared with the full shutil.rmtree implementation, so the patch looks reasonable to me.
History
Date User Action Args
2011-07-26 01:56:08ncoghlansetrecipients: + ncoghlan, georg.brandl, pitrou, neologix, abacabadabacaba, petri.lehtinen
2011-07-26 01:56:08ncoghlansetmessageid: <1311645368.86.0.968101308186.issue12464@psf.upfronthosting.co.za>
2011-07-26 01:56:08ncoghlanlinkissue12464 messages
2011-07-26 01:56:07ncoghlancreate