summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_threadedtempfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Add "import thread" at the top of the module; this prevents us fromGuido van Rossum2001-04-141-0/+1
| | | | | failing later when Python is compiled without threading but a failing 'threading' module can be imported due to an earlier (caught) attempt.
* Fix stupidity.Tim Peters2001-01-131-1/+1
|
* Guido found a brand new race in tempfile on Linux, due to Linux changingTim Peters2001-01-131-0/+85
pid across threads (but in that case, it's still the same process, and so still sharing the "template" cache in tempfile.py). Repaired that, and added a new std test. On Linux, someone please run that standalone with more files and/or more threads; e.g., python lib/test/test_threadedtempfile.py -f 1000 -t 10 to run with 10 threads each creating (and deleting) 1000 temp files.