New submission from jentyk: In [14]: for i in xrange(10): ....: if 1==1: ....: print "It's true" ....: else: ....: print "It isn't true. Seriously??" ....: It's true It's true It's true It's true It's true It's true It's true It's true It's true It's true It isn't true. Seriously??
Is the behaviour intentional? I do not think so... ---------- components: Interpreter Core messages: 242336 nosy: jentyk priority: normal severity: normal status: open title: Messed up indentation makes undesired piece of code being run! type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24106> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com