Lars Gustäbel l...@gustaebel.de added the comment:
I just checked in a fix for the problem, r70523-70527. Thank you very
much for your report.
--
resolution: - fixed
status: open - closed
versions: +Python 2.5
___
Python tracker
New submission from Maciek Fijalkowski fi...@genesilico.pl:
I have troubles actually finding such a file, but I encountered it at
least once (file is gone by now though). The lines in question are for
bz2 compression:
in _BZ2Proxy.read:
try:
raw =
Changes by Lars Gustäbel l...@gustaebel.de:
--
assignee: - lars.gustaebel
nosy: +lars.gustaebel
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5068
___
Lars Gustäbel l...@gustaebel.de added the comment:
Thanks for the report. The problem is in fact easy to reproduce.
_BZ2Proxy hangs if it is passed a file object with either no data or
with a partial bzipped file. For example try:
tarfile.open(mode=r:bz2, fileobj=StringIO.StringIO())
I will