commit | 23109ef11e91c49b56b517ce454bcf87a4153c62 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue Oct 26 08:59:14 2004 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Tue Oct 26 08:59:14 2004 +0000 |
tree | 53ca2774bc93c604957f33c6229b7b240dcf7532 | |
parent | 368c0b22f8e43709afbbc3805f55ceffed127212 [diff] |
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.