diff options
author | Raymond Hettinger <python@rcn.com> | 2004-10-26 08:59:14 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-10-26 08:59:14 (GMT) |
commit | 23109ef11e91c49b56b517ce454bcf87a4153c62 (patch) | |
tree | 53ca2774bc93c604957f33c6229b7b240dcf7532 /Lib/pyclbr.py | |
parent | 368c0b22f8e43709afbbc3805f55ceffed127212 (diff) | |
download | cpython-23109ef11e91c49b56b517ce454bcf87a4153c62.zip cpython-23109ef11e91c49b56b517ce454bcf87a4153c62.tar.gz cpython-23109ef11e91c49b56b517ce454bcf87a4153c62.tar.bz2 |
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.
Diffstat (limited to 'Lib/pyclbr.py')
0 files changed, 0 insertions, 0 deletions