This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients anthonybaxter, christian.heimes, jafo, janixia, jhylton, loewis, pitrou, tim.peters
Date 2008-03-27.11:00:06
SpamBayes Score 0.09404104
Marked as misclassified No
Message-id <1206615609.29.0.62744493335.issue815646@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2008-03-27 11:00:09pitrousetspambayes_score: 0.094041 -> 0.09404104
recipients: + pitrou, tim.peters, loewis, jhylton, anthonybaxter, jafo, janixia, christian.heimes
2008-03-27 11:00:09pitrousetspambayes_score: 0.094041 -> 0.094041
messageid: <1206615609.29.0.62744493335.issue815646@psf.upfronthosting.co.za>
2008-03-27 11:00:07pitroulinkissue815646 messages
2008-03-27 11:00:07pitroucreate