Bugs found in 2.4 branch testing

This commit is contained in:
rocky
2020-02-14 10:54:37 -05:00
parent 534afb3f6e
commit fd36c77d2d
7 changed files with 38 additions and 4 deletions

View File

@@ -7,3 +7,13 @@ def readline (self):
continue
return
# From 2.4.6 sre.py
# Bug in 2.4 and 2.3 was parsing the nested "while 1" with a "break" in it
def _parse(a, b, source, state):
while 1:
if b:
while 1:
break
else:
raise