René's URL Explorer Experiment


Title: gh-148675: Add Zd/Zf formats to array, ctypes, memoryview, struct by vstinner · Pull Request #148676 · python/cpython · GitHub

Open Graph Title: gh-148675: Add Zd/Zf formats to array, ctypes, memoryview, struct by vstinner · Pull Request #148676 · python/cpython

X Title: gh-148675: Add Zd/Zf formats to array, ctypes, memoryview, struct by vstinner · Pull Request #148676 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Add Zd/Zf format support to array, memoryview and struct. ctypes: Replace F/D/G complex format with Zf/Zd/Zg. Modify array, ctypes and struct modules to support format strings longer than 1 charact...

X Description: Add Zd/Zf format support to array, memoryview and struct. ctypes: Replace F/D/G complex format with Zf/Zd/Zg. Modify array, ctypes and struct modules to support format strings longer than 1 charact...

Opengraph URL: https://github.com/python/cpython/pull/148676

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:e129cf8d-fbbd-fd6b-1002-193208b64854
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB7E8:144DCD:380022:4C1D4F:6A527346
html-safe-nonced3c2a2058548dcd9860541f741e386883c14c5508bc521c625c8153f61931e7d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0U4OjE0NERDRDozODAwMjI6NEMxRDRGOjZBNTI3MzQ2IiwidmlzaXRvcl9pZCI6IjQxMDEyNzgzOTg4ODE2MjQ5MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7d25a3a67d7459435a059bb956cb8672487d20006916f64da828a52f1f9ddc03
hovercard-subject-tagpull_request:3545091938
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/148676/commits
twitter:imagehttps://opengraph.githubassets.com/5c0534d735ce5250096db048e78604d720d18d724861e26cd1cc6ebc2d620501/python/cpython/pull/148676
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5c0534d735ce5250096db048e78604d720d18d724861e26cd1cc6ebc2d620501/python/cpython/pull/148676
og:image:altAdd Zd/Zf format support to array, memoryview and struct. ctypes: Replace F/D/G complex format with Zf/Zd/Zg. Modify array, ctypes and struct modules to support format strings longer than 1 charact...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/148676/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F148676%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F148676%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/148676/commits
Reloadhttps://github.com/python/cpython/pull/148676/commits
Reloadhttps://github.com/python/cpython/pull/148676/commits
Please reload this pagehttps://github.com/python/cpython/pull/148676/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/148676/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:complex_formatshttps://github.com/vstinner/cpython/tree/complex_formats
Conversationhttps://github.com/python/cpython/pull/148676
Commits23 (23)https://github.com/python/cpython/pull/148676/commits
Checkshttps://github.com/python/cpython/pull/148676/checks
Files changedhttps://github.com/python/cpython/pull/148676/files
gh-148675: Add Zd/Zf formats to array, ctypes, memoryview, structhttps://github.com/python/cpython/pull/148676/commits#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:complex_formatshttps://github.com/vstinner/cpython/tree/complex_formats
gh-148675: Add Zd/Zf formats to array, ctypes, memoryview, structhttps://github.com/python/cpython/pull/148676/commits/d50838d84ac2817bbce29db25ba66f4d4c447136
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
d50838dhttps://github.com/python/cpython/pull/148676/commits/d50838d84ac2817bbce29db25ba66f4d4c447136
https://github.com/python/cpython/tree/d50838d84ac2817bbce29db25ba66f4d4c447136
Fix formatting of the NEWS entryhttps://github.com/python/cpython/pull/148676/commits/c54e5b42e5a7b6724af4cda78d5c7745f4b06cb8
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
c54e5b4https://github.com/python/cpython/pull/148676/commits/c54e5b42e5a7b6724af4cda78d5c7745f4b06cb8
https://github.com/python/cpython/tree/c54e5b42e5a7b6724af4cda78d5c7745f4b06cb8
Fix compiler warninghttps://github.com/python/cpython/pull/148676/commits/a13a47ad5693323a51237aac7984070c2b9080c5
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
a13a47ahttps://github.com/python/cpython/pull/148676/commits/a13a47ad5693323a51237aac7984070c2b9080c5
https://github.com/python/cpython/tree/a13a47ad5693323a51237aac7984070c2b9080c5
struct: fix align()https://github.com/python/cpython/pull/148676/commits/54d634fbb00ff750f279f1d0317c77155c21137b
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
54d634fhttps://github.com/python/cpython/pull/148676/commits/54d634fbb00ff750f279f1d0317c77155c21137b
https://github.com/python/cpython/tree/54d634fbb00ff750f279f1d0317c77155c21137b
ctypes: fix typohttps://github.com/python/cpython/pull/148676/commits/af51fd977853fd075de0bd8e664cd617b1e4fe1c
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
af51fd9https://github.com/python/cpython/pull/148676/commits/af51fd977853fd075de0bd8e664cd617b1e4fe1c
https://github.com/python/cpython/tree/af51fd977853fd075de0bd8e664cd617b1e4fe1c
ctypes: add tests on Zf, Zd, Zg formatshttps://github.com/python/cpython/pull/148676/commits/fe496e997f61f8fdc6ea7e9a7e7dd370b885b45a
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
fe496e9https://github.com/python/cpython/pull/148676/commits/fe496e997f61f8fdc6ea7e9a7e7dd370b885b45a
https://github.com/python/cpython/tree/fe496e997f61f8fdc6ea7e9a7e7dd370b885b45a
Change array.typecodes type to tuplehttps://github.com/python/cpython/pull/148676/commits/cf16b041f5d9a27dbd02bd002ad38ecab563d376
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
cf16b04https://github.com/python/cpython/pull/148676/commits/cf16b041f5d9a27dbd02bd002ad38ecab563d376
https://github.com/python/cpython/tree/cf16b041f5d9a27dbd02bd002ad38ecab563d376
test_array: add tests on Zf/Zd typecodeshttps://github.com/python/cpython/pull/148676/commits/69c7e1a7effadcda96cf34a40b7a3ca2663af02b
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
69c7e1ahttps://github.com/python/cpython/pull/148676/commits/69c7e1a7effadcda96cf34a40b7a3ca2663af02b
https://github.com/python/cpython/tree/69c7e1a7effadcda96cf34a40b7a3ca2663af02b
array: Fix byteswap for Zd/Zfhttps://github.com/python/cpython/pull/148676/commits/0381b672711cf6e1df4a315defe2fe87161586c8
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
0381b67https://github.com/python/cpython/pull/148676/commits/0381b672711cf6e1df4a315defe2fe87161586c8
https://github.com/python/cpython/tree/0381b672711cf6e1df4a315defe2fe87161586c8
Fix typo in the dochttps://github.com/python/cpython/pull/148676/commits/374dddeaf2b58aafd2b4e61a66b87d82b0439e6b
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
374dddehttps://github.com/python/cpython/pull/148676/commits/374dddeaf2b58aafd2b4e61a66b87d82b0439e6b
https://github.com/python/cpython/tree/374dddeaf2b58aafd2b4e61a66b87d82b0439e6b
Fix more doc typoshttps://github.com/python/cpython/pull/148676/commits/869cd8865ad92b1ab878229ceb1a03b5beff3ade
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
869cd88https://github.com/python/cpython/pull/148676/commits/869cd8865ad92b1ab878229ceb1a03b5beff3ade
https://github.com/python/cpython/tree/869cd8865ad92b1ab878229ceb1a03b5beff3ade
Fix PyCSimpleType_init() for Zf/Zd/Zg formatshttps://github.com/python/cpython/pull/148676/commits/52846d1fe57913a4f4fd097efe70aee951a754f2
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
52846d1https://github.com/python/cpython/pull/148676/commits/52846d1fe57913a4f4fd097efe70aee951a754f2
https://github.com/python/cpython/tree/52846d1fe57913a4f4fd097efe70aee951a754f2
ctypes: replace F/D/G types with Zf/Zd/Zghttps://github.com/python/cpython/pull/148676/commits/fab34a9635d487db0d0331d773932ec89a62933c
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
fab34a9https://github.com/python/cpython/pull/148676/commits/fab34a9635d487db0d0331d773932ec89a62933c
https://github.com/python/cpython/tree/fab34a9635d487db0d0331d773932ec89a62933c
Merge branch 'main' into complex_formatshttps://github.com/python/cpython/pull/148676/commits/6753bae91c085127942da06e2a11b718eedc5ee3
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
6753baehttps://github.com/python/cpython/pull/148676/commits/6753bae91c085127942da06e2a11b718eedc5ee3
https://github.com/python/cpython/tree/6753bae91c085127942da06e2a11b718eedc5ee3
Fix PyCSimpleType_init() format for Zf/Zd/Zghttps://github.com/python/cpython/pull/148676/commits/5e1281d3f4cf34e726083d21ddb77d10c669ea0a
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
5e1281dhttps://github.com/python/cpython/pull/148676/commits/5e1281d3f4cf34e726083d21ddb77d10c669ea0a
https://github.com/python/cpython/tree/5e1281d3f4cf34e726083d21ddb77d10c669ea0a
test_ctypes: test also array formathttps://github.com/python/cpython/pull/148676/commits/5cf4fcc57b33b6258e60c7ebd4498510404227c7
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
5cf4fcchttps://github.com/python/cpython/pull/148676/commits/5cf4fcc57b33b6258e60c7ebd4498510404227c7
https://github.com/python/cpython/tree/5cf4fcc57b33b6258e60c7ebd4498510404227c7
test_buffer: test also Zf and Zd formatshttps://github.com/python/cpython/pull/148676/commits/88b64b9c72ddf19681f32b4da7ab8724673dff4d
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
88b64b9https://github.com/python/cpython/pull/148676/commits/88b64b9c72ddf19681f32b4da7ab8724673dff4d
https://github.com/python/cpython/tree/88b64b9c72ddf19681f32b4da7ab8724673dff4d
Update NEWS entryhttps://github.com/python/cpython/pull/148676/commits/3de82a70b64089bca579f00eb40740cf2cd667aa
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
3de82a7https://github.com/python/cpython/pull/148676/commits/3de82a70b64089bca579f00eb40740cf2cd667aa
https://github.com/python/cpython/tree/3de82a70b64089bca579f00eb40740cf2cd667aa
Fix Sphinx referenceshttps://github.com/python/cpython/pull/148676/commits/f24e08a92811c3fad2bf2f4211bd29ea84005746
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
f24e08ahttps://github.com/python/cpython/pull/148676/commits/f24e08a92811c3fad2bf2f4211bd29ea84005746
https://github.com/python/cpython/tree/f24e08a92811c3fad2bf2f4211bd29ea84005746
Fix yet another Sphinx referencehttps://github.com/python/cpython/pull/148676/commits/7cd717ec55e08910dd61a95678fb161270a57db0
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
7cd717ehttps://github.com/python/cpython/pull/148676/commits/7cd717ec55e08910dd61a95678fb161270a57db0
https://github.com/python/cpython/tree/7cd717ec55e08910dd61a95678fb161270a57db0
What's New: add Zf and Zd to the memoryview entryhttps://github.com/python/cpython/pull/148676/commits/c7840fa7705ca2a0b85de9e093d3f2b3e34747cb
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
c7840fahttps://github.com/python/cpython/pull/148676/commits/c7840fa7705ca2a0b85de9e093d3f2b3e34747cb
https://github.com/python/cpython/tree/c7840fa7705ca2a0b85de9e093d3f2b3e34747cb
Address Gregory's reviewhttps://github.com/python/cpython/pull/148676/commits/1a77688497153ebf7c44797d4e59c9f59fb77e98
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
1a77688https://github.com/python/cpython/pull/148676/commits/1a77688497153ebf7c44797d4e59c9f59fb77e98
https://github.com/python/cpython/tree/1a77688497153ebf7c44797d4e59c9f59fb77e98
What's New: remove Sergey's namehttps://github.com/python/cpython/pull/148676/commits/35a4691bbbcb378aee4569d2b0e94ba3a44d3592
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
35a4691https://github.com/python/cpython/pull/148676/commits/35a4691bbbcb378aee4569d2b0e94ba3a44d3592
https://github.com/python/cpython/tree/35a4691bbbcb378aee4569d2b0e94ba3a44d3592
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.