Skip to content

gh-145633: Allow PyFloat_Pack8 & PyFloat_UnPack* to fail in future CPython versions#153440

Open
encukou wants to merge 1 commit into
python:mainfrom
encukou:fallible-pyfloat-pack
Open

gh-145633: Allow PyFloat_Pack8 & PyFloat_UnPack* to fail in future CPython versions#153440
encukou wants to merge 1 commit into
python:mainfrom
encukou:fallible-pyfloat-pack

Conversation

@encukou

@encukou encukou commented Jul 9, 2026

Copy link
Copy Markdown
Member

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33515882 | 📁 Comparing c7b0f2c against main (dd8739a)

  🔍 Preview build  

2 files changed
± c-api/float.html
± whatsnew/changelog.html

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

@vstinner vstinner added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 9, 2026
@vstinner

vstinner commented Jul 9, 2026

Copy link
Copy Markdown
Member

The Python 3.15 also contains this "implementation detail", so it should also be removed: https://docs.python.org/3.15/c-api/float.html#c.PyFloat_Pack8.

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

Labels

awaiting merge docs Documentation in the Doc dir needs backport to 3.15 pre-release feature fixes, bugs and security fixes

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants