This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients asnakelover, brian.curtin, jackdied, nirai, pitrou
Date 2009-12-18.15:01:23
SpamBayes Score 1.2005832e-05
Marked as misclassified No
Message-id <1261148485.64.0.869043669117.issue7471@psf.upfronthosting.co.za>
In-reply-to
Content
Two things:
- since it implements common IO operations, the GzipFile class could
inherit io.BufferedIOBase. It would also alleviate the need to
reimplement readinto(): BufferedIOBase has a default implementation
which should be sufficient.
- rather than `type(data) is memoryview`, the preferred idiom is
`isinstance(data, memoryview)`.
History
Date User Action Args
2009-12-18 15:01:25pitrousetrecipients: + pitrou, jackdied, nirai, brian.curtin, asnakelover
2009-12-18 15:01:25pitrousetmessageid: <1261148485.64.0.869043669117.issue7471@psf.upfronthosting.co.za>
2009-12-18 15:01:24pitroulinkissue7471 messages
2009-12-18 15:01:24pitroucreate