cpython/Python
Victor Stinner 3cdd5fb970 code_richcompare() now uses the constants types
Issue #25843: When compiling code, don't merge constants if they are equal but
have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
correctly compiled to two different functions: f1() returns 1 (int) and f2()
returns 1.0 (int), even if 1 and 1.0 are equal.

Add a new _PyCode_ConstantKey() private function.
2016-01-22 12:33:12 +01:00
..
clinic Rebuilt Clinic generated code. 2015-08-24 20:23:27 -07:00
Python-ast.c Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when 2015-11-06 17:01:48 +01:00
README
_warnings.c Issue #20440: Massive replacing unsafe attribute setting code with special 2015-12-24 10:35:59 +02:00
asdl.c
ast.c Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when 2015-11-06 17:01:48 +01:00
bltinmodule.c Issue #24802: Merge null termination fixes from 3.4 into 3.5 2015-11-07 02:56:11 +00:00
ceval.c Issue #20440: Applied yet one patch for using Py_SETREF. 2015-12-27 12:36:18 +02:00
ceval_gil.h Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
codecs.c Issue #24993: Handle import error in namereplace error handler 2015-09-03 16:19:40 +02:00
compile.c code_richcompare() now uses the constants types 2016-01-22 12:33:12 +01:00
condvar.h Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
dtoa.c Fix compiler warning in dtoa.c 2015-03-18 15:01:44 +01:00
dup2.c
dynamic_annotations.c
dynload_aix.c PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
dynload_dl.c Issue #24268: Fix import naming when loading extension modules. Patch by Petr Viktorin. 2015-05-23 14:13:41 -07:00
dynload_hpux.c Issue #24268: Fix import naming when loading extension modules. Patch by Petr Viktorin. 2015-05-23 14:13:41 -07:00
dynload_next.c Issue #24268: Fix import naming when loading extension modules. Patch by Petr Viktorin. 2015-05-23 14:13:41 -07:00
dynload_shlib.c PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
dynload_stub.c
dynload_win.c Issue #24268: Fixes generation of init import name on Windows. 2015-05-23 08:59:25 -07:00
errors.c Add _PyThreadState_UncheckedGet() 2016-01-20 11:12:38 +01:00
fileutils.c Fix a couple of typos in code comments 2015-12-17 10:18:28 +00:00
formatter_unicode.c
frozen.c Issue #23911: Move path-based bootstrap code to a separate frozen module. 2015-05-02 19:15:18 -06:00
frozenmain.c merge 3.4 (#22633) 2015-02-14 15:17:47 -05:00
future.c PEP 479: Change StopIteration handling inside generators. 2015-05-09 11:44:30 -04:00
getargs.c Fixed error message for the "u#" format code. 2015-04-19 21:13:00 +03:00
getcompiler.c
getcopyright.c 2016 will be another year of writing copyrighted code 2016-01-01 10:23:45 -06:00
getopt.c
getplatform.c
getversion.c
graminit.c Issue #24791: Fix grammar regression for call syntax: 'g(*a or b)'. 2015-08-05 17:54:10 -04:00
import.c Rebuilt Clinic generated code. 2015-08-24 20:23:27 -07:00
importdl.c fix importing one char extension modules (closes #24328) 2015-05-29 17:10:30 -05:00
importdl.h PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
importlib.h Issue #25280: Import trace messages emitted in verbose (-v) mode are no 2015-10-01 11:08:50 +03:00
importlib_external.h Issue #25280: Import trace messages emitted in verbose (-v) mode are no 2015-10-01 11:40:22 +03:00
makeopcodetargets.py
marshal.c Issue #25899: Converted non-ASCII characters in docstrings and manpage 2015-12-18 13:05:04 +02:00
modsupport.c
mysnprintf.c
mystrtoul.c
opcode_targets.h Issue #24400: Introduce a distinct type for 'async def' coroutines. 2015-06-22 12:19:30 -04:00
peephole.c PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
pyarena.c
pyctype.c
pyfpe.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
pyhash.c
pylifecycle.c Issue #25160: Fix import_init() comments and messages 2015-09-18 09:11:57 +02:00
pymath.c Issue 24366: Indent code (thanks to li4ick for reporting). 2015-06-02 18:53:46 -04:00
pystate.c Add _PyThreadState_UncheckedGet() 2016-01-20 11:12:38 +01:00
pystrcmp.c
pystrhex.c Silence a gcc "may be used uninitialized" compiler warning. Not true. 2015-04-25 23:51:39 -07:00
pystrtod.c
pythonrun.c Fix race condition in create_stdio() 2015-09-04 17:27:49 +02:00
pytime.c pytime.c: rename pygettimeofday_new() to pygettimeofday() 2015-11-10 12:11:39 +01:00
random.c Merge 3.4 (os.urandom) 2015-10-01 10:00:23 +02:00
sigcheck.c
strdup.c
structmember.c
symtable.c make recording and reporting errors and nonlocal and global directives more robust (closes #25973) 2015-12-29 10:08:34 -06:00
sysmodule.c Add _PyThreadState_UncheckedGet() 2016-01-20 11:12:38 +01:00
thread.c Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
thread_foobar.h
thread_nt.h
thread_pthread.h
traceback.c Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add. 2015-06-21 16:00:33 +03:00

README

Miscellaneous source files for the main Python shared library