[Python-Dev] Segfault

Maciej Fijalkowski fijall at gmail.com
Mon Aug 20 20:27:50 CEST 2007


IMHO this shouldn't segfault:

import thread

while 1:
    f = open("/tmp/dupa", "w")
    thread.start_new_thread(f.close, ())
    f.close()

while it does on cpython 2.5.1, linux box.

May I consider this a bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20070820/531dbe9b/attachment.htm 


More information about the Python-Dev mailing list