is there a difference between one line and many lines
vinograd19 at gmail.com
Thu Apr 21 12:36:14 CEST 2011
Python 2.7.1 (downloaded from python.org a week ago)
You see, if I save this to a file and then run from CMD: "python test1.py" the result will be the same: "True"
When I use IDLE or IPython or DreamPie or maybe something else then result is not the same. So maybe as Chris Angelico said it is the IDLE(or Ipython) makes some optimization depend on a code style.
More information about the Python-list