SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72137 0 43 Python

SF bug #1053819: Segfault in tuple_of_constants

Peepholer could be fooled into misidentifying a tuple_of_constants.
Added code to count consecutive occurrences of LOAD_CONST.
Use the count to weed out the misidentified cases.
Added a unittest.
R
Raymond Hettinger committed
23109ef11e91c49b56b517ce454bcf87a4153c62
Parent: 368c0b2