Gregory P. Smith <[EMAIL PROTECTED]> added the comment:
I've attached my first attempt at fixing this as io-bufwrite-gps01.
Unfortunately it causes the Lib/test/test_io.py testThreads to fail:
======================================================================
FAIL: testThreads (__main__.BufferedReaderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_io.py", line 456, in testThreads
self.assertEqual(s.count(c), N)
AssertionError: 30 != 1000
I haven't read the test yet, but my guess is that the test is broken and
is blindly calling write() without checking the return value.
----------
keywords: +patch
Added file: http://bugs.python.org/file12155/issue4428-io-bufwrite-gps01.diff
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4428>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com