python / cpython

The Python programming language
https://www.python.org
Other
63.16k stars 30.24k forks source link

New REPL multiline editing feature not documented #125613

Open corneliusroemer opened 1 week ago

corneliusroemer commented 1 week ago

Documentation

Reading the Python 3.13 release notes I became curious about the new REPL multiline editing feature:

Brave Browser 2024-10-16 22 09 00

However, I cannot find any explanation of this feature in the documentation. Clicking on the "interactive" link redirects to the Appendix which mentions the new interactive mode, but doesn't add anything about the multiline editing feature that isn't in the release notes already.

Brave Browser 2024-10-16 22 09 07

https://docs.python.org/3/tutorial/appendix.html#tut-interac

corneliusroemer commented 1 week ago

I suppose there's not that much to document other than that one can now navigate multiline commands with arrow keys, something that wasn't previously possible: 2024-10-16 22 15 16

hugovk commented 1 week ago

See also PEP 762 "REPL-acing the default REPL": https://peps.python.org/pep-0762/

corneliusroemer commented 1 week ago

A nice write up on the new REPL I found is: https://realpython.com/python313-repl/

hugovk commented 1 week ago

And also https://treyhunner.com/2024/05/my-favorite-python-3-dot-13-feature/

rishi93 commented 4 days ago

Hi! Is this an open issue? If it is, could I help with this? I'm a newcomer and would like to contribute to CPython if possible.