Eli Bendersky <eli...@gmail.com> added the comment:

This is a good example of why passing parameters into functions by means of 
globals sucks. In reindent.py, main() sets the spec_newline global which 
check() uses, but this was forgotten in patchcheck.py which also uses 
reindent.check()

IMHO reindent.py should be rewritten to ditch all globals

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10639>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to