Staging
v0.8.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
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 7.3 KB
README.rst -rw-r--r-- 4.3 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.2 KB
conf.py -rw-r--r-- 6.2 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 48.4 KB
license.rst -rw-r--r-- 46.2 KB
make.bat -rw-r--r-- 5.1 KB

README.rst

back to top