Skip to content

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Yuheng3107
Copy link

@Yuheng3107 Yuheng3107 commented Jul 27, 2025

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/

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>
@python-cla-bot
Copy link

python-cla-bot bot commented Jul 27, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@@ -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`.
Copy link
Member

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.

Copy link
Member

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.

Copy link
Author

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.

@@ -7,6 +7,10 @@

.. sectionauthor:: Skip Montanaro <skip.montanaro@gmail.com>

.. note::
The new REPL introduced in version 3.13 no longer supports readline.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

Docs: update GNU readline interface documentation to reflect that it is no longer supported
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy