Antoine Pitrou <[EMAIL PROTECTED]> added the comment:
A small addition to Christian's code snippet allows me to reproduce the
problem as well:
import thread
f=open("tmp1", "w")
def worker():
global f
while 1:
f.close()
f = open("tmp1", "w")
f.seek(0,0)
thread.start_new_thread(worker, ())
thread.start_new_thread(worker, ())
while 1:
pass
----------
nosy: +pitrou
____________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue815646>
____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com