Staging
v0.5.1
https://github.com/python/cpython
Revision 01c6a8859ef2ff5545a87cf537573bd342c848bf authored by Oren Milman on 29 September 2017, 18:34:31 UTC, committed by Brett Cannon on 29 September 2017, 18:34:31 UTC
While a rare potential failure (it requires swapping out zlib.decompress() itself and forcing it to return a non-bytes object), this change prevents a potential C-level assertion failure and instead substitutes it with an exception.

Thanks to Oren Milman for the patch.
1 parent 6603373
History
Tip revision: 01c6a8859ef2ff5545a87cf537573bd342c848bf authored by Oren Milman on 29 September 2017, 18:34:31 UTC
bpo-31602: Fix an assertion failure in zipimporter.get_source() in case of a bad zlib.decompress() (GH-3784)
Tip revision: 01c6a88
File Mode Size
CODEOWNERS -rw-r--r-- 1.5 KB
CONTRIBUTING.rst -rw-r--r-- 2.3 KB
PULL_REQUEST_TEMPLATE.md -rw-r--r-- 316 bytes
appveyor.yml -rw-r--r-- 711 bytes
codecov.yml -rw-r--r-- 482 bytes

back to top