On 11/2/20 10:28 am, Steven D'Aprano wrote:
On Mon, Feb 10, 2020 at 11:03:15PM -0300, Luciano Ramalho wrote:
Are you typing those >?

Don’t.
IPython has a magic %paste command that understands CPython's >>>
prompt, but not PyPy's >>>> prompt.

https://cmdlinetips.com/2012/12/how-to-paste-code-in-python-interpreter-hint-use-ipython/


You can change the pypy prompt with `sys.ps1 ='>>> '`

Otherwise, this is a ipython issue. Their issue tracker is at https://github.com/ipython/ipython/issues/


Matti

_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to