Antoine Pitrou <pit...@free.fr> added the comment:

The proposed resolution is wrong. As the comment says, there is a specific 
reason why f->fp is NULLed at this point.

It appears that maybe MSVCRT is not entirely thread-safe with respect to 
buffered file I/O. Perhaps the test can simply be disabled under Windows. Is 
test_close_open_print_buffered the only test that fails?

----------
nosy: +pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9295>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to