-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-137113 docs: note readline no longer supported in REPL after 3.13 #137142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Add a note to the readline module documentation stating that Python 3.13 and later no longer supports readline in the default REPL, as per pythongh-118840. Includes workaround using PYTHON_BASIC_REPL. Closes pythongh-137113. Signed-off-by: Kuang Yu Heng <yuheng3107@gmail.com>
Doc/library/readline.rst
Outdated
@@ -7,6 +7,10 @@ | |||
|
|||
.. sectionauthor:: Skip Montanaro <skip.montanaro@gmail.com> | |||
|
|||
.. note:: | |||
The Python REPL after version 3.13 no longer supports readline as per :gh:`118840`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have much confidence in this, but #118840 didn't talk much about why readline
is not supported, so linking it here doesn't provide much help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think using The new REPL introduced in 3.13 doesn't support readline is a better approach because we don't drop support for it, and users can still use it if they switch to the old REPL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aisk Thank you for the kind feedback, I have changed the docs for this according to your suggestion.
Signed-off-by: Kuang Yu Heng <yuheng3107@gmail.com>
@@ -7,6 +7,10 @@ | |||
|
|||
.. sectionauthor:: Skip Montanaro <skip.montanaro@gmail.com> | |||
|
|||
.. note:: | |||
The new REPL introduced in version 3.13 no longer supports readline. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new REPL introduced in version 3.13 no longer supports readline. | |
The new :term:`REPL` introduced in version 3.13 doesn't supports readline. |
Because it has never supported readline (I think).
Addee a note to the readline module documentation stating that Python 3.13 and later no longer supports readline in the default REPL, as per #118840.
Closes #137113
📚 Documentation preview 📚: https://cpython-previews--137142.org.readthedocs.build/