New issue 2880: Pasting into MacOS shell doesn't indent correctly
https://bitbucket.org/pypy/pypy/issues/2880/pasting-into-macos-shell-doesnt-indent

Bram Cohen:

The auto-indent in the MacOS shell, while it's the correct behavior for 
interactive entering of code, is broken for cut and paste. What happens when 
you try to paste in a whole function is that the auto-indent for later lines 
kicks in, then the indentation getting pasted gets added as well, resulting in 
a syntax error.

The appropriate solution is to make auto-indent not happen in the middle of 
pastes.


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

Reply via email to