The 3.13 REPL adds paste mode and history mode to solve some very old problems many people had with Python REPL. However I wonder what is the rational behind using F keys instead of what IPython did long ago, adding magic keywords like %paste
. I am asking the new REPL seems to break software like GitHub - jpalardy/vim-slime: A vim plugin to give you some slime. (Emacs) (with vim/nvim terminal as target) and it does not seem possible to send F3 (but %paste works in IPython). Arguably this would be less of a problem if the target terminal supported bracketed paste properly.
1 Like