This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients gregory.p.smith, jack1142, jfrances21, rhpvorderman, scoder
Date 2020-08-20.01:57:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
fwiw, no PEP is needed for things like this.  it'd just be an alternative library implementing the core of the zlib and/or gzip modules behind the scenes.

normally this kind of thing would be done using a check for the availability of the library in with conditional compilation via #ifdef's from the configure output that controls what is set in pyconfig.h in the zlib and gzip modules itself.

Within the stdlib, I'd focus only on using things that can be used in a 100% api compatible way with the existing modules.

Otherwise creating a new module and putting it up on PyPI to expose the functionality from the libraries you want makes sense and will be easier to make available to everyone on existing Python versions rather than waiting on getting something into CPython.

FWIW I tend to avoid software provided by Intel given any other choice.

Look instead at Chromium's zlib as discussed in or possibly at a project like  These are much more likely to be drop in zlib replacements making this simply a build time thing which is more a matter of making sure we get the relevant compiler flags correct when the faster libraries are detected by as available.

There is a caveat to using any of these: how well maintained and security vetted are all of the code paths in the implementation?  zlib proper gets massive security attention.  Its low rate of change and staleness are a feature.  Chromium's zlib also gets proper security attention.  No idea about zlib-ng and even less about Intels self serving arm-ignoring oddity.
Date User Action Args
2020-08-20 01:57:41gregory.p.smithsetrecipients: + gregory.p.smith, scoder, jack1142, rhpvorderman, jfrances21
2020-08-20 01:57:41gregory.p.smithsetmessageid: <>
2020-08-20 01:57:41gregory.p.smithlinkissue41566 messages
2020-08-20 01:57:40gregory.p.smithcreate