classification
Title: gzip module calls getattr incorrectly
Type: Stage:
Components: Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Neil Muller, georg.brandl
Priority: normal Keywords: patch

Created on 2010-11-20 11:05 by Neil Muller, last changed 2010-11-20 11:26 by georg.brandl. This issue is now closed.

Files
File name Uploaded Description Edit
gzip_getattr.diff Neil Muller, 2010-11-20 11:05
gzip_getattr_test.diff Neil Muller, 2010-11-20 11:06 test for the getattr bug
Messages (3)
msg121607 - (view) Author: Neil Muller (Neil Muller) Date: 2010-11-20 11:05
gzip._PaddedFile.__getattr__ chains out to getattr, but does so incorrectly (found via running the numpy test suite).

The attached patch fixes this.
msg121608 - (view) Author: Neil Muller (Neil Muller) Date: 2010-11-20 11:06
Add a test demonstrating the error.
msg121612 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-11-20 11:26
Thanks for the catch, fixed in r86555.
History
Date User Action Args
2010-12-03 05:25:44eric.araujolinkissue10613 superseder
2010-11-20 11:26:31georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg121612

resolution: fixed
2010-11-20 11:06:57Neil Mullersetfiles: + gzip_getattr_test.diff

messages: + msg121608
2010-11-20 11:05:43Neil Mullercreate