Message96566
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)`. |
|
Date |
User |
Action |
Args |
2009-12-18 15:01:25 | pitrou | set | recipients:
+ pitrou, jackdied, nirai, brian.curtin, asnakelover |
2009-12-18 15:01:25 | pitrou | set | messageid: <1261148485.64.0.869043669117.issue7471@psf.upfronthosting.co.za> |
2009-12-18 15:01:24 | pitrou | link | issue7471 messages |
2009-12-18 15:01:24 | pitrou | create | |
|