Author pitrou
Recipients Christophe Simonis, Garen, amaury.forgeotdarc, arekm, devurandom, doko, eric.araujo, georg.brandl, jreese, lars.gustaebel, leonov, loewis, nicdumz, nikratio, ockham-razor, pitrou, proyvind, rcoyner, thedjatclubrock, vstinner, ysj.ray
Date 2010-10-31.21:15:28
SpamBayes Score 3.34757e-09
Marked as misclassified No
Message-id <1288559730.04.0.930767886252.issue6715@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2010-10-31 21:15:30pitrousetrecipients: + 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:30pitrousetmessageid: <1288559730.04.0.930767886252.issue6715@psf.upfronthosting.co.za>
2010-10-31 21:15:28pitroulinkissue6715 messages
2010-10-31 21:15:28pitroucreate