Skip to content

Commit f94df93

Browse files
committed
docs: note readline no longer supported in REPL after 3.13
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 gh-118840. Includes workaround using PYTHON_BASIC_REPL. Closes gh-137113. Signed-off-by: Kuang Yu Heng <[email protected]>
1 parent ae8b7d7 commit f94df93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/readline.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
.. sectionauthor:: Skip Montanaro <[email protected]>
99

10+
.. note::
11+
The Python REPL after version 3.13 no longer supports readline as per :gh:`118840`.
12+
However, readline can still be used if the :envvar:`PYTHON_BASIC_REPL` environment variable is set.
13+
1014
--------------
1115

1216
The :mod:`readline` module defines a number of functions to facilitate

0 commit comments

Comments
 (0)