New submission from Mark Dickinson dicki...@gmail.com:
test_buffered_reader test_gzip is failing for me since r80720, on trunk on OS X
10.6.3:
==
ERROR: test_buffered_reader (__main__.TestGzip)
Antoine Pitrou pit...@free.fr added the comment:
Can you try the following:
f = open('LICENSE', 'rb')
f.flush()
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8614
___
Mark Dickinson dicki...@gmail.com added the comment:
Yep, that's enough to trigger it:
Python 2.7b1+ (trunk:80760, May 4 2010, 19:27:27)
[GCC 4.2.1 (Apple Inc. build 5659)] on darwin
Type help, copyright, credits or license for more information.
f = open('LICENSE', 'rb')
[35032 refs]
Antoine Pitrou pit...@free.fr added the comment:
Ok, can you try the following patch then:
Index: Lib/gzip.py
===
--- Lib/gzip.py (révision 80760)
+++ Lib/gzip.py (copie de travail)
@@ -362,7 +362,7 @@
if self.mode ==
Mark Dickinson dicki...@gmail.com added the comment:
That fixes the failure.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8614
___
___
Mark Dickinson dicki...@gmail.com added the comment:
Thanks, Antoine. Applied in r80762 through r80765.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - behavior
___
Python tracker rep...@bugs.python.org