cpython/Python
tzickel f64c813de8 bpo-25083: Python can sometimes create incorrect .pyc files (GH-8449)
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.
2018-09-10 11:46:14 -07:00
..
Python-ast.c [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) 2018-07-31 09:09:36 +03:00
_warnings.c [2.7] bpo-31285: Don't raise a SystemError in warnings.warn_explicit() in case __loader__.get_source() has a bad splitlines() method. (GH-3219) (#3823) 2017-09-30 17:06:55 +03:00
asdl.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
ast.c [2.7] bpo-34457: Python/ast.c: Add missing NULL check to alias_for_import_name(). (GH-8852) (GH-8858) 2018-08-22 14:46:51 +03:00
atof.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
bltinmodule.c [2.7] Issue GH-18560: Fix potential NULL pointer dereference in sum(). (GH-8892) 2018-08-23 22:28:39 -07:00
ceval.c [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) 2018-07-31 09:09:36 +03:00
codecs.c Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc 2016-04-15 02:14:19 +00:00
compile.c [2.7] bpo-33132: Fix reference counting issues in the compiler. (GH-6209). (GH-6322) 2018-04-01 10:26:33 +03:00
dtoa.c Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float. 2013-11-26 16:38:25 +00:00
dup2.c Merged revisions 85236 via svnmerge from 2010-10-05 22:21:03 +00:00
dynload_aix.c Merged revisions 88430,88438,88440 via svnmerge from 2011-02-25 11:09:02 +00:00
dynload_atheos.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_beos.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_dl.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
dynload_hpux.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_next.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_os2.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_shlib.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dynload_stub.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
dynload_win.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
errors.c Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF 2016-04-10 18:05:12 +03:00
formatter_string.c Allow core Python build to succeed under WITHOUT_COMPLEX. The module build stage still fails. 2009-10-15 17:45:39 +00:00
formatter_unicode.c Issue #1588: Add complex.__format__. 2009-04-30 00:58:58 +00:00
frozen.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
frozenmain.c avoid reading unallocated memory when argc == 0 (closes #22633) 2015-02-14 15:17:25 -05:00
future.c this should technicaly be identifier 2012-03-22 10:39:16 -04:00
getargs.c [2.7] bpo-23927: Make getargs.c skipitem() skipping 'w*'. (GH-8192). (GH-8255) 2018-07-11 19:49:17 +03:00
getcompiler.c [2.7] remove tabs from getcompiler.c (GH-3892) (#3894) 2017-10-05 08:41:31 -07:00
getcopyright.c [2.7] advance copyright years to 2018 (GH-5094). (#5105) 2018-01-04 23:02:11 -08:00
getcwd.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
getopt.c #16306: report only the first unknown option and add more tests. Patch by Serhiy Storchaka. 2012-11-23 18:46:11 +02:00
getplatform.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
getversion.c Merged revisions 83429,83436 via svnmerge from 2010-08-01 22:10:15 +00:00
graminit.c remove dictmaker rule; it's unused 2010-12-11 04:25:57 +00:00
import.c [2.7] bpo-33330: Improve error handling in PyImport_Cleanup(). (GH-6564). (GH-6605) 2018-04-26 03:28:14 +03:00
importdl.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
importdl.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
mactoolboxglue.c Issue #28139: Fix messed up indentation 2016-09-17 07:54:55 +00:00
makeopcodetargets.py backport computed gotos (#4753) 2015-05-28 12:45:31 -05:00
marshal.c fix marshal uninitialized variable warnings (#4114) 2017-10-24 23:09:55 -07:00
modsupport.c Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N" 2016-05-20 22:31:24 +03:00
mysnprintf.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
mystrtoul.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
opcode_targets.h backport computed gotos (#4753) 2015-05-28 12:45:31 -05:00
peephole.c Issue #27076: Doc, comment and test function name spelling fixes 2016-05-26 05:28:50 +00:00
pyarena.c remove unnecessary clearing of list 2013-01-19 14:58:38 -05:00
pyctype.c Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors. 2009-04-27 19:04:37 +00:00
pyfpe.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
pymath.c Issue #24366: Fix indentation 2016-09-15 01:50:53 +00:00
pystate.c bpo-20891: Fix PyGILState_Ensure() (#4650) (#4657) 2017-11-30 23:35:14 +01:00
pystrcmp.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
pystrtod.c Removed duplicated words in in comments and docs. 2014-12-01 18:16:30 +02:00
pythonrun.c bpo-25083: Python can sometimes create incorrect .pyc files (GH-8449) 2018-09-10 11:46:14 -07:00
random.c Don't use getentropy() on Linux 2017-01-09 11:10:41 +01:00
sigcheck.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
strdup.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
strtod.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
structmember.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
symtable.c [2.7] bpo-10544: Deprecate "yield" in comprehensions and generator expressions in Py3k mode. (GH-4579) (#4676) 2017-12-02 21:00:09 +02:00
sysmodule.c bpo-27593: Get SCM build info from git instead of hg (#1327) 2017-05-02 16:55:50 +02:00
thread.c Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
thread_atheos.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_beos.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_cthread.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_foobar.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_lwp.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_nt.h Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
thread_os2.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_pth.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_pthread.h [2.7] bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to (GH-2403) (#2420) 2017-06-26 22:13:39 +02:00
thread_sgi.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_solaris.h Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
thread_wince.h Issue #28139: Fix messed up indentation 2016-09-17 07:54:55 +00:00
traceback.c Issue24733 - Remove unreachable code in traceback.c 2016-01-04 22:40:39 -08:00