summaryrefslogtreecommitdiff
path: root/Lib/idlelib/configHandler.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-01-28 23:11:23 +0000
committerTim Peters <tim.peters@gmail.com>2002-01-28 23:11:23 +0000
commit4fd5a06580c2b03f0252553e4024f168ea054353 (patch)
treeb52b5b960c7a0b384c7fa6e22cb9c65fbe72222e /Lib/idlelib/configHandler.py
parentfea155370e00e58c694392dd79d47e9481897b4f (diff)
downloadcpython-git-4fd5a06580c2b03f0252553e4024f168ea054353.tar.gz
SF bug #509805 tempfile.gettempdir not threadsafe
This is an ancient race when multiple threads call gettempdir() (or anything relying on it) for the first time. Fixed x-platform via the Big Hammer of rearranging the code to serialize the first calls. Subsequent calls are as fast as before. Note that the Python test suite can't provoke this bug: it requires setting up multiple threads making the very first calls into tempfile, but the test suite uses tempfile several times before getting to test_threadedtempfile. Bugfix candidate.
Diffstat (limited to 'Lib/idlelib/configHandler.py')
0 files changed, 0 insertions, 0 deletions