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 ochedru
Recipients Birne94, Connor.Wolf, Giovanni.Bajo, Winterflower, bobbyi, dan.oreilly, davin, emptysquare, forest_atq, gregory.p.smith, ionelmc, jcea, lesha, neologix, nirai, nirs, ochedru, pitrou, sbt, sdaoden, tshepang, vinay.sajip, vstinner
Date 2018-04-05.13:53:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522936399.73.0.682650639539.issue6721@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, I encountered the same kind of issue when using the mkstemp() function: under the hood, it calls gettempdir() and this one is protected by a lock too.

Current thread 0x00007ff10231f700 (most recent call first):
   File "/usr/lib/python3.5/tempfile.py", line 432 in gettempdir
   File "/usr/lib/python3.5/tempfile.py", line 269 in _sanitize_params
   File "/usr/lib/python3.5/tempfile.py", line 474 in mkstemp
History
Date User Action Args
2018-04-05 13:53:20ochedrusetrecipients: + ochedru, gregory.p.smith, vinay.sajip, jcea, nirs, pitrou, vstinner, nirai, forest_atq, ionelmc, bobbyi, neologix, Giovanni.Bajo, sdaoden, tshepang, sbt, lesha, emptysquare, dan.oreilly, davin, Connor.Wolf, Winterflower, Birne94
2018-04-05 13:53:19ochedrusetmessageid: <1522936399.73.0.682650639539.issue6721@psf.upfronthosting.co.za>
2018-04-05 13:53:19ochedrulinkissue6721 messages
2018-04-05 13:53:19ochedrucreate