Author eli.bendersky
Recipients eli.bendersky, eric.araujo, jaraco, orsenthil, python-dev
Date 2011-07-29.04:34:35
SpamBayes Score 2.65775e-08
Marked as misclassified No
Message-id <1311914076.9.0.822724462793.issue10639@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-07-29 04:34:36eli.benderskysetrecipients: + eli.bendersky, jaraco, orsenthil, eric.araujo, python-dev
2011-07-29 04:34:36eli.benderskysetmessageid: <1311914076.9.0.822724462793.issue10639@psf.upfronthosting.co.za>
2011-07-29 04:34:36eli.benderskylinkissue10639 messages
2011-07-29 04:34:35eli.benderskycreate