Skip to content

gh-157485: Add structured version info for readline - #157486

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:readline-version-info
Sep 29, 2026
Merged

serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:readline-version-info

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

Add constants readline.READLINE_VERSION_INFO, readline.readline_version_info and readline.readline_version, which provide information about the version of the Readline library in use.

The private names _READLINE_VERSION, _READLINE_RUNTIME_VERSION and _READLINE_LIBRARY_VERSION are kept for backward compatibility.

Tested with GNU readline 8.3 on Linux and with libedit (--with-readline=editline) on FreeBSD.

Add constants readline.READLINE_VERSION_INFO,
readline.readline_version_info and readline.readline_version, which
provide information about the version of the Readline library in use.

The private names _READLINE_VERSION, _READLINE_RUNTIME_VERSION and
_READLINE_LIBRARY_VERSION are kept for backward compatibility.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34547686 | 📁 Comparing 92cd026 against main (f815f74)

  🔍 Preview build  

3 files changed
± library/readline.html
± whatsnew/3.16.html
± whatsnew/changelog.html

@serhiy-storchaka
serhiy-storchaka merged commit 8b34557 into python:main Sep 29, 2026
56 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the readline-version-info branch September 29, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant