mirror of
https://github.com/python/cpython.git
synced 2025-09-17 22:20:23 +00:00
8 lines
163 B
Python
8 lines
163 B
Python
# 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()
|