semi colon causes syntax error
Bug #414295 reported by
Daniel Hill
This bug report is a duplicate of:
Bug #414967: print statements get incorrectly mangled by the autocall feature under Python 2.6.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
New
|
Undecided
|
Unassigned |
Bug Description
at the python prompt
>>> print "hello" ; print "world"
works but in ipython it causes a
SyntaxError: invalid syntax
To post a comment you must log in.
I believe this is a consequence of a recently noticed bug with IPython's autocall feature and Python 2.6 and print statements. The other bug you reported also comes from this. Refer to the documentation to see how to turn off autocall until the bug is fixed.
When reporting bugs, please copy-and-paste what you typed and the full error message rather than paraphrasing. Thanks.