Files
python-uncompyle6/test/simple_source/bug33/04_aug_assign.py
rocky 6189ce3c04 Bug in 3.x detecting "if" structure and ...
scanner3.py: bug in 3.x detecting "if" structure
Make scanner2.py look more like scanner3.py
verify.py: add weak-verify which tests Pytyon syntax, but not code
2016-08-31 04:07:42 -04:00

12 lines
226 B
Python

# From python 3.4 difflib
# Bug in 3.x is combining bestsize +=1 with while condition
bestsize = 5
b = [2]
def isbjunk(x):
return False
while 1 < bestsize and \
not isbjunk(b[0]) and \
b[0]:
bestsize += 1