Files
cpython/Modules
Ma Lin 251ffa9d2b bpo-41486: Fix initial buffer size can't > UINT32_MAX in zlib module (GH-25738)
* Fix initial buffer size can't > UINT32_MAX in zlib module

After commit f9bedb630e, in 64-bit build,
if the initial buffer size > UINT32_MAX, ValueError will be raised.

These two functions are affected:
1. zlib.decompress(data, /, wbits=MAX_WBITS, bufsize=DEF_BUF_SIZE)
2. zlib.Decompress.flush([length])

This commit re-allows the size > UINT32_MAX.

* adds curly braces per PEP 7.

* Renames `Buffer_*` to `OutputBuffer_*` for clarity
2021-04-30 16:32:49 -07:00
..
2016-10-18 16:29:27 +02:00
2016-10-18 16:29:27 +02:00
2016-09-06 10:46:49 -07:00
2021-01-25 14:51:48 -08:00

Source files for standard library extension modules,
and former extension modules that are now builtin modules.