[IPython-User] doctest_mode continuation change?
Matthew Brett
matthew.brett@gmail....
Thu Aug 4 14:35:35 CDT 2011
Hi guys,
Sorry if this has been covered before, but I am used to copy-pasting
things like:
>>> a = {'X':1,
... 'Y':2}
in doctest_mode. This used to work in IPython 10.2:
In [1]: doctest_mode
*** Pasting of code with ">>>" or "..." has been enabled.
Exception reporting mode: Plain
Doctest mode is: ON
>>> >>> a = {'X':1,
... ... 'Y':2}
>>>
but now:
In [1]: doctest_mode
Exception reporting mode: Plain
Doctest mode is: ON
>>> >>> a = {'X':1,
... ... 'Y':2}
File "<ipython-input-2-cae42d271a53>", line 2
... 'Y':2}
^
SyntaxError: invalid syntax
Is there some change that I missed that makes that bad to do?
See y'all,
Matthew
More information about the IPython-User
mailing list