On Sun, Aug 28, 2011 at 1:15 AM, "Martin v. Löwis" <martin at v.loewis.de> wrote: > This is exactly what I worry about. I think adding file I/O to bz2 was a > mistake, as this doesn't integrate with Python's IO library (it used > to, but now after dropping stdio, they were incompatible. Indeed, for > Python 3.2, BZ2File has been removed from the C module, and lifted to > Python. > > IOW, the _lzma C module must not do any I/O, neither directly nor > indirectly (through liblzma). The approach of gzip.py (doing IO > and file formats in pure Python) is exactly right. PEP 399 also comes into play - we need a pure Python version for PyPy et al (or a plausible story for why an exception should be granted). Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4