| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
This simplifies code by removing a pile of conditionals and alternative logic. Further simplification could be done in `Modules/binascii.c` to simply have binascii.crc32 be a reference to zlib.crc32. Also the conditional logic around zlib inflaceCopy existing and `HAVE_ZLIB_COPY` can likely be removed as that API was added to zlib in 2003. The Windows build already treats zlib as required.
|
can you remove test.support.requires_zlib as well, if it will always be there? |
Sorry, something went wrong.
|
Unfortunately most of this work can only be done when zlib is fully unsupported -- I am happy to come back to it then and finish it off :-) Partial unsupport (Petr's plan): #130297 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This simplifies code by removing a pile of conditionals and
alternative logic.
Further simplification could be done in Modules/binascii.c to
simply have binascii.crc32 be a reference to zlib.crc32.
Also the conditional logic around zlib inflateCopy existing and
HAVE_ZLIB_COPY can likely be removed as that API was added to zlib
in 2003 and Python in 2006 via https://bugs.python.org/issue1503046.
The Windows build already treats zlib as required.
https://bugs.python.org/issue47090