https://github.com/python/cpython
Revision f64c813de84011a84ca21d75a294861a9cc2dfdc authored by tzickel on 10 September 2018, 18:46:14 UTC, committed by Petr Viktorin on 10 September 2018, 18:46:14 UTC
Python 2 never checked for I/O error when reading .py files and
thus could mistake an I/O error for EOF and create incorrect .pyc
files.
This adds an check for this and aborts on an error.
1 parent ed62e64
History
Tip revision: f64c813de84011a84ca21d75a294861a9cc2dfdc authored by tzickel on 10 September 2018, 18:46:14 UTC
bpo-25083: Python can sometimes create incorrect .pyc files (GH-8449)
Tip revision: f64c813
File Mode Size
.github
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 552 bytes
.gitattributes -rw-r--r-- 809 bytes
.gitignore -rw-r--r-- 1.2 KB
.travis.yml -rw-r--r-- 3.8 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 48.1 KB
README -rw-r--r-- 54.4 KB
aclocal.m4 -rw-r--r-- 13.0 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 439.8 KB
configure.ac -rw-r--r-- 142.6 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 35.1 KB
setup.py -rw-r--r-- 98.2 KB

README

back to top