[Python-Dev] LZMA compression support in 3.3
Nadeem Vawda
nadeem.vawda at gmail.com
Sat Aug 27 17:58:11 CEST 2011
On Sat, Aug 27, 2011 at 5:42 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> Not sure whether you already have this: supporting the tarfile module
> would be nice.
Yes, got that - issue 5689. Also of interest is issue 5411 - adding .xz
support to distutils. But I think that these are separate projects that
should wait until the lzma module is finalized.
On Sat, Aug 27, 2011 at 5:40 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Sun, 28 Aug 2011 01:36:50 +1000
> Nick Coghlan <ncoghlan at gmail.com> wrote:
>> 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).
>
> The plausible story being that we basically wrap an existing library?
> I don't think PyPy et al have pure Python versions of the zlib or
> OpenSSL, do they?
>
> If we start taking PEP 399 conformance to such levels, we might as well
> stop developing CPython.
Indeed, PEP 399 specifically notes that exemptions can be granted for
modules that wrap external C libraries.
On Sat, Aug 27, 2011 at 5:52 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> It's acceptable for the Python version to use ctypes in the case of
> wrapping an existing library, but the Python version should still
> exist.
I'm not too sure about that - PEP 399 explicitly says that using ctypes is
frowned upon, and doesn't mention anywhere that it should be used in this
sort of situation.
Cheers,
Nadeem
More information about the Python-Dev
mailing list