Skip to content

gh-148675: Remove F and D formats from array and memoryview - #149368

Merged
encukou merged 1 commit into
python:mainfrom
vstinner:revert_array_memoryview
May 4, 2026
Merged

encukou merged 1 commit into
python:mainfrom
vstinner:revert_array_memoryview

Conversation

@vstinner

@vstinner vstinner commented May 4, 2026 •

Copy link
Copy Markdown
Member
@vstinner

vstinner commented May 4, 2026

Copy link
Copy Markdown
Member Author

Summary of supported complex formats with this change.

Python 3.14:

  • struct (2): F/D
  • array (0): none
  • memoryview (0): none
  • ctypes (3): F/D/G

Python 3.15 with this PR:

  • struct (4): F/D and Zf/Zd
  • array (2): Zf/Zd
  • memoryview (2): Zf/Zd
  • ctypes (3): Zf/Zd/Zg
@vstinner

vstinner commented May 4, 2026

Copy link
Copy Markdown
Member Author
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32527796 | 📁 Comparing 80fe449 against main (1e21cf6)

  🔍 Preview build  

3 files changed
± library/array.html
± whatsnew/3.15.html
± whatsnew/changelog.html
@skirpichev

Copy link
Copy Markdown
Member

I don't think my involvement will be constructive, sorry.

@encukou

encukou commented May 4, 2026

Copy link
Copy Markdown
Member

This PR does what it says. If we're fine with #148676, this is a good next step.

@encukou
encukou merged commit 5dd5c8b into python:main May 4, 2026
52 of 53 checks passed
@vstinner
vstinner deleted the revert_array_memoryview branch May 4, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants