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 ferringb
Recipients ferringb
Date 2011-08-30.00:31:50
SpamBayes Score 0.00039197
Marked as misclassified No
Message-id <>
Roughly; tempfile's uniqueness is derived from a global random instance; while there are protections for thread access, a forked child process /will/ inherit that PRNG source, resulting in children/parent trying the same set of names.

Mostly it's proving annoying in some code I have to deal in, although it wouldn't surprise me if someone watching a known temp location could use the predictability in some fashion.

As for affect, all versions of python have this; attached patch is cut against trunk.
Date User Action Args
2011-08-30 00:31:53ferringbsetrecipients: + ferringb
2011-08-30 00:31:53ferringbsetmessageid: <>
2011-08-30 00:31:52ferringblinkissue12856 messages
2011-08-30 00:31:52ferringbcreate