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).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of python

python

Photo of new REPL

new REPL

Related news:

News photo

Python 3.13 Beta Out For Testing With Experimental JIT, Better Interactive Interpreter

News photo

A library to assist writing memory-unsafe code in "pure" Python

News photo

Google lays off staff from Flutter, Dart and Python teams weeks before its developer conference