Maciej Fijalkowski wrote: > 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? Yes, that's a bug. Please file it at http://sourceforge.net/bugs/?group_id=5470. -Andrew.