Message120085
I feel guilty of having said, some months ago, that "Well, I wouldn't say bz2module is the best module out there, but as you say it's probably good enough" (my words).
It's true that bz2module is not awful in terms of coding style or quality; the main issue with it is that uses outdated ways of doing I/O compared to what Python 3 recommends (that is, compose various building blocks together to allow for better re-use).
A point of reference is gzip, where the core compression routines (mostly wrappers) are in zlibmodule (in C), but the high-level file object is written in pure Python (and is composeable with other building blocks for fast buffered IO). |
|
Date |
User |
Action |
Args |
2010-10-31 21:15:30 | pitrou | set | recipients:
+ pitrou, loewis, georg.brandl, doko, amaury.forgeotdarc, arekm, lars.gustaebel, vstinner, nicdumz, eric.araujo, Christophe Simonis, rcoyner, proyvind, nikratio, leonov, devurandom, Garen, ysj.ray, thedjatclubrock, ockham-razor, jreese |
2010-10-31 21:15:30 | pitrou | set | messageid: <1288559730.04.0.930767886252.issue6715@psf.upfronthosting.co.za> |
2010-10-31 21:15:28 | pitrou | link | issue6715 messages |
2010-10-31 21:15:28 | pitrou | create | |
|