semi colon causes syntax error

Bug #414295 reported by Daniel Hill
6
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

Revision history for this message
Robert Kern (robert-kern) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.