Steven D'Aprano schrieb am 17.08.20 um 17:00:
> On Mon, Aug 17, 2020 at 04:08:54PM +0200, Stefan Behnel wrote:
> 
>> I re-opened the ticket to allow for some discussion over there in order to
>> understand the implications better. But I agree that a third-party package
>> on PyPI seems like a good first step, also as a backport.
> 
> Perhaps I have misunderstood, but isn't this a pure implementation 
> change, with no user visible API changes and backward compatible output?
> 
> So why does it need to go on PyPI first? It isn't as if we need to wait 
> to see whether there is demand for faster reading and writing of gzip 
> files, or for the API to settle down.

I didn't say that it won't be accepted into CPython. That depends a lot on
how easy it is to integrate and what implications that would have. That
will be decided as part of the discussion in the ticket.

However, even if it gets accepted, then that would be a change for CPython
3.10 at the earliest, maybe later, depending on when the patch is ready.
Older CPython versions could still benefit from the faster (de-)compression
by having a third-party module in PyPI.

Basically, wrapping a zlib compatible library, e.g. in Cython or even as a
copy of CPython's own zlib code, seems rather straight forward to me. I'm
more worried about the build time dependencies and setup that arise here,
which would need tackling regardless of where/how we integrate it.

Having a third-party module available would show how easy or difficult it
is to build such a module, thus giving an indication for the effort
required to integrate and ship it with the CPython code base. It's a good
first step with a readily usable outcome, whatever the decision in CPython
will be.

Stefan
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/IYWBCNV3BTC5ZUH4YKFF7ZURFXAOJEVG/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to