GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-148675: Remove F and D formats from array and memoryview by vstinner · Pull Request #149368 · python/cpython

Conversation

@vstinner

@vstinner vstinner commented May 4, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • Issue: Add support for numpy buffer format Zf and Zd #148675

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vstinner
pythongh-148675: Remove F and D formats from array and memoryview
80fe449
@vstinner
vstinner requested a review from AA-Turner as a code owner May 4, 2026 14:27
@bedevere-app bedevere-app Bot mentioned this pull request May 4, 2026
Add support for numpy buffer format Zf and Zd #148675
Closed
@bedevere-app bedevere-app Bot added the awaiting core review label May 4, 2026
@vstinner vstinner mentioned this pull request May 4, 2026
gh-148675: Revert GH-146237 and GH-146241 #148674
Closed
@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
hpkfft reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner

vstinner commented May 4, 2026

Copy link
Copy Markdown
Member Author

cc @skirpichev @encukou

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner vstinner mentioned this pull request May 4, 2026
gh-148675: Add Zd/Zf formats to array, ctypes, memoryview, struct #148676
Merged
@read-the-docs-community

read-the-docs-community Bot commented May 4, 2026

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
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner vstinner mentioned this pull request May 4, 2026
Decide buffer protocol format string for complex numbers python/steering-council#345
Closed
@skirpichev

skirpichev commented May 4, 2026

Copy link
Copy Markdown
Member

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

vstinner reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@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.

vstinner reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@encukou
encukou merged commit 5dd5c8b into python:main May 4, 2026
56 of 57 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting core review label May 4, 2026
@vstinner
vstinner deleted the revert_array_memoryview branch May 4, 2026 16:13
@skirpichev skirpichev mentioned this pull request May 5, 2026
gh-61103: use PEP 3118 codes in the ctypes #149344
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@AA-Turner AA-Turner Awaiting requested review from AA-Turner AA-Turner is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@vstinner @skirpichev @encukou
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.