[issue16478] Fix division in tabnanny
Ezio Melotti
report at bugs.python.org
Fri Nov 16 11:49:56 CET 2012
Ezio Melotti added the comment:
The patch looks OK, buy can you provide a way to reproduce the error (if you get any)?
Should we add tests for tabnanny?
I tried to get an error from tabnanny but the only thing I got was a ResourceWarning (that can be easily fixed by a finally: f.close() near the end of the check() method).
I also noticed that tabnanny doesn't detect any problem with:
if 0:
\t\t\t\t\t\t\tprint(1)
else:
print(2)
if 1:
print()
else:
\t \t print()
----------
nosy: +ezio.melotti
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16478>
_______________________________________
More information about the Python-bugs-list
mailing list