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
Raw File
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
idle.bat
@echo off
rem start idle
rem Usage:  idle [-d]
rem -d   Run Debug build (python_d.exe).  Else release build.

setlocal
set exe=win32\python
PATH %PATH%;..\externals\tcltk\bin

if "%1"=="-d" (set exe=%exe%_d) & shift

set cmd=%exe% ../Lib/idlelib/idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9

echo on
%cmd%
back to top