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
..
2015-08-24 20:23:27 -07:00
2015-03-18 15:01:44 +01:00
2016-01-20 11:12:38 +01:00
2015-02-14 15:17:47 -05:00
2015-08-24 20:23:27 -07:00
2016-01-20 11:12:38 +01:00
2015-10-01 10:00:23 +02:00
2016-01-20 11:12:38 +01:00

Miscellaneous source files for the main Python shared library