Commit bf138333 authored by Georg Brandl's avatar Georg Brandl

Add a crasher for the thread-unsafety of file objects.

parent f0d1c1f3
# An example for http://bugs.python.org/issue815646
import thread
while 1:
f = open("/tmp/dupa", "w")
thread.start_new_thread(f.close, ())
f.close()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment