[issue20875] Typo in gzip._PaddedFile

2014-03-09 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch! Committed for release with 3.3.6 and 3.4.1. -- nosy: +ned.deily resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker

[issue20875] Typo in gzip._PaddedFile

2014-03-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset c3836de644e0 by Ned Deily in branch '3.3': Issue #20875: Prevent possible gzip "'read' is not defined" NameError. http://hg.python.org/cpython/rev/c3836de644e0 New changeset 42599de6a4de by Ned Deily in branch 'default': Issue #20875: Merge from 3.3

[issue20875] Typo in gzip._PaddedFile

2014-03-09 Thread Claudiu.Popa
Claudiu.Popa added the comment: Patch attached. -- keywords: +patch Added file: http://bugs.python.org/file34312/gzip_typo.patch ___ Python tracker ___ __

[issue20875] Typo in gzip._PaddedFile

2014-03-09 Thread Claudiu.Popa
New submission from Claudiu.Popa: There's a typo in gzip._PaddedFile.prepend. Here's a snippet to reproduce it. >>> import gzip >>> x=gzip.open("a.gz") >>> x.fileobj.prepend() Traceback (most recent call last): File "", line 1, in File "/tank/libs/cpython/Lib/gzip.py", line 99, in prepend