Skip to content

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

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:readline-version-info
Open

serhiy-storchaka wants to merge 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant