Get the latest tech news
The new REPL in Python 3.13
Python 3.13 just hit feature freeze with the first beta release today. Just before the feature freeze, a shiny new feature was added: a brand new …
This new REPL really shines when you can’t or shouldn’t install PyPI packages (as when teaching a brand new Pythonistas in a locked-down corporate environment). When two consecutive newlines were encountered in the old REPL, it would end the current block of code because it assumed the Enter key had been pressed twice. I’m hoping that this new REPL might encourage the addition of curses support on Windows (there are multiple issues discussing this).
Or read this on Hacker News