[issue3571] test_closerange in test_os can crash the test suite

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: I've finally diagnosed the problem. test_buffer_is_readonly was opening stdin's file descriptor again in raw mode, and closing it implicitly by using "with". It should be fixed in r65731. There's a justice: the test had been checked in by m

[issue3571] test_closerange in test_os can crash the test suite

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Here is a temptative patch. It should fix the problems with test_closerange. -- keywords: +patch Added file: http://bugs.python.org/file11128/test_closerange.patch ___ Python tracker <[EMAIL PROTEC

[issue3571] test_closerange in test_os can crash the test suite

2008-08-16 Thread Antoine Pitrou
New submission from Antoine Pitrou <[EMAIL PROTECTED]>: I've been trying to track down the following failure which very recently has started to plague the py3k buildbots: [...] test_os Traceback (most recent call last): File "./Lib/test/regrtest.py", line 1197, in main() File "./Lib/tes