summaryrefslogtreecommitdiff
path: root/Lib/test/crashers
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-25 13:05:15 +0000
committerGeorg Brandl <georg@python.org>2008-05-25 13:05:15 +0000
commit2067bfdf253e134a4144d3747300dbfcc7cc6203 (patch)
tree76613f07319d07cc4f0159769131a051504f8c69 /Lib/test/crashers
parent3b4b45bfe546b023383d4382af7767359390e264 (diff)
downloadcpython-git-2067bfdf253e134a4144d3747300dbfcc7cc6203.tar.gz
Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.
Diffstat (limited to 'Lib/test/crashers')
-rw-r--r--Lib/test/crashers/multithreaded_close.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/crashers/multithreaded_close.py b/Lib/test/crashers/multithreaded_close.py
index 52243414d6..f862d28b19 100644
--- a/Lib/test/crashers/multithreaded_close.py
+++ b/Lib/test/crashers/multithreaded_close.py
@@ -6,9 +6,9 @@
# http://bugs.python.org/issue595601
# http://bugs.python.org/issue815646
-import thread
+import _thread
while 1:
f = open("multithreaded_close.tmp", "w")
- thread.start_new_thread(f.close, ())
+ _thread.start_new_thread(f.close, ())
f.close()