René's URL Explorer Experiment


Title: gh-85283: Add PyMem_RawMalloc() to the limited C API by vstinner · Pull Request #108570 · python/cpython · GitHub

Open Graph Title: gh-85283: Add PyMem_RawMalloc() to the limited C API by vstinner · Pull Request #108570 · python/cpython

X Title: gh-85283: Add PyMem_RawMalloc() to the limited C API by vstinner · Pull Request #108570 · python/cpython

Description: Add PyMem_RawMalloc(), PyMem_RawCalloc(), PyMem_RawRealloc() and PyMem_RawFree() to the limited C API. These functions were added by Python 3.4 and are needed to port stdlib extensions to the limited C API, like grp and pwd. Issue: gh-85283 📚 Documentation preview 📚: https://cpython-previews--108570.org.readthedocs.build/

Open Graph Description: Add PyMem_RawMalloc(), PyMem_RawCalloc(), PyMem_RawRealloc() and PyMem_RawFree() to the limited C API. These functions were added by Python 3.4 and are needed to port stdlib extensions to the limit...

X Description: Add PyMem_RawMalloc(), PyMem_RawCalloc(), PyMem_RawRealloc() and PyMem_RawFree() to the limited C API. These functions were added by Python 3.4 and are needed to port stdlib extensions to the limit...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0146f5b9-4d15-a40e-f5ef-f9d93fe9c2dc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE27C:33C049:771075:A0DFE8:6969DD37
html-safe-nonce236aafd2dd2e2977dec1db1acbe575ce38e25b6e8216af001518a18e538323dd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjdDOjMzQzA0OTo3NzEwNzU6QTBERkU4OjY5NjlERDM3IiwidmlzaXRvcl9pZCI6IjUyMDQyNTUwNTE2Mzc5NzIyNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca0447f38d24ec8e5c3735239b3dd2e5627e57f479844f0d985ce57f674618ca3
hovercard-subject-tagpull_request:1492299753
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/108570/files
twitter:imagehttps://avatars.githubusercontent.com/u/194129?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/194129?s=400&v=4
og:image:altAdd PyMem_RawMalloc(), PyMem_RawCalloc(), PyMem_RawRealloc() and PyMem_RawFree() to the limited C API. These functions were added by Python 3.4 and are needed to port stdlib extensions to the limit...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/108570/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F108570%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F108570%2Ffiles
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/108570/files
Reloadhttps://github.com/python/cpython/pull/108570/files
Reloadhttps://github.com/python/cpython/pull/108570/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/108570/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/108570/files
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 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:limited_pymem_rawhttps://github.com/vstinner/cpython/tree/limited_pymem_raw
Conversation 15 https://github.com/python/cpython/pull/108570
Commits 1 https://github.com/python/cpython/pull/108570/commits
Checks 0 https://github.com/python/cpython/pull/108570/checks
Files changed https://github.com/python/cpython/pull/108570/files
Please reload this pagehttps://github.com/python/cpython/pull/108570/files
gh-85283: Add PyMem_RawMalloc() to the limited C API https://github.com/python/cpython/pull/108570/files#top
Show all changes 1 commit https://github.com/python/cpython/pull/108570/files
940ddb1 gh-85283: Add PyMem_RawMalloc() to the limited C API erlend-aasland Aug 28, 2023 https://github.com/python/cpython/pull/108570/commits/940ddb116268a263b2504c23dbc44a566499b477
Clear filters https://github.com/python/cpython/pull/108570/files
Please reload this pagehttps://github.com/python/cpython/pull/108570/files
Please reload this pagehttps://github.com/python/cpython/pull/108570/files
stable_abi.dat https://github.com/python/cpython/pull/108570/files#diff-e87eccb88c979495c493aed4127b9f9932c320edfe4d95c8e28e2ca92e8e33f3
3.13.rst https://github.com/python/cpython/pull/108570/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
pymem.h https://github.com/python/cpython/pull/108570/files#diff-58b477181547d81d49449568fd914ddd0a890e30ac33ebe459370e1ee5fde184
pymem.h https://github.com/python/cpython/pull/108570/files#diff-f5ff30ebd68c13354a69540c77586f5ed4e83c5a133af3548bff6697f7a9f390
test_stable_abi_ctypes.py https://github.com/python/cpython/pull/108570/files#diff-e23b7eb96b17ef58f28bd65875edc3ec27eeb85be4c342d0c2d9c74121a74c0b
2023-08-28-17-34-10.gh-issue-85283.f1zXcc.rst https://github.com/python/cpython/pull/108570/files#diff-a18ee80e72ab176ec98ef8f7118301ffc81841478e33768d28845122c26f888b
stable_abi.toml https://github.com/python/cpython/pull/108570/files#diff-f098b9ddf231fb279a9f5b4b8ed22c4241e1ffed7fe0deffb2c76bb2126d2911
python3dll.c https://github.com/python/cpython/pull/108570/files#diff-be34b08a4cde4f0bfbf86bc3c427e4a3dcc3f2f472061a50d00040a0d8a57c88
Doc/data/stable_abi.dathttps://github.com/python/cpython/pull/108570/files#diff-e87eccb88c979495c493aed4127b9f9932c320edfe4d95c8e28e2ca92e8e33f3
View file https://github.com/vstinner/cpython/blob/940ddb116268a263b2504c23dbc44a566499b477/Doc/data/stable_abi.dat
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/108570/files
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/whatsnew/3.13.rsthttps://github.com/python/cpython/pull/108570/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
View file https://github.com/vstinner/cpython/blob/940ddb116268a263b2504c23dbc44a566499b477/Doc/whatsnew/3.13.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108570/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108570/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
https://github.com/python/cpython/pull/108570/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
Include/cpython/pymem.hhttps://github.com/python/cpython/pull/108570/files#diff-58b477181547d81d49449568fd914ddd0a890e30ac33ebe459370e1ee5fde184
View file https://github.com/vstinner/cpython/blob/940ddb116268a263b2504c23dbc44a566499b477/Include/cpython/pymem.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108570/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108570/files#diff-58b477181547d81d49449568fd914ddd0a890e30ac33ebe459370e1ee5fde184
https://github.com/python/cpython/pull/108570/files#diff-58b477181547d81d49449568fd914ddd0a890e30ac33ebe459370e1ee5fde184
Include/pymem.hhttps://github.com/python/cpython/pull/108570/files#diff-f5ff30ebd68c13354a69540c77586f5ed4e83c5a133af3548bff6697f7a9f390
View file https://github.com/vstinner/cpython/blob/940ddb116268a263b2504c23dbc44a566499b477/Include/pymem.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108570/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108570/files#diff-f5ff30ebd68c13354a69540c77586f5ed4e83c5a133af3548bff6697f7a9f390
https://github.com/python/cpython/pull/108570/files#diff-f5ff30ebd68c13354a69540c77586f5ed4e83c5a133af3548bff6697f7a9f390
Lib/test/test_stable_abi_ctypes.pyhttps://github.com/python/cpython/pull/108570/files#diff-e23b7eb96b17ef58f28bd65875edc3ec27eeb85be4c342d0c2d9c74121a74c0b
View file https://github.com/vstinner/cpython/blob/940ddb116268a263b2504c23dbc44a566499b477/Lib/test/test_stable_abi_ctypes.py
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/108570/files
Misc/NEWS.d/next/C API/2023-08-28-17-34-10.gh-issue-85283.f1zXcc.rsthttps://github.com/python/cpython/pull/108570/files#diff-a18ee80e72ab176ec98ef8f7118301ffc81841478e33768d28845122c26f888b
View file https://github.com/vstinner/cpython/blob/940ddb116268a263b2504c23dbc44a566499b477/Misc/NEWS.d/next/C%20API/2023-08-28-17-34-10.gh-issue-85283.f1zXcc.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108570/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L138
Misc/stable_abi.tomlhttps://github.com/python/cpython/pull/108570/files#diff-f098b9ddf231fb279a9f5b4b8ed22c4241e1ffed7fe0deffb2c76bb2126d2911
View file https://github.com/vstinner/cpython/blob/940ddb116268a263b2504c23dbc44a566499b477/Misc/stable_abi.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108570/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108570/files#diff-f098b9ddf231fb279a9f5b4b8ed22c4241e1ffed7fe0deffb2c76bb2126d2911
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L184
PC/python3dll.chttps://github.com/python/cpython/pull/108570/files#diff-be34b08a4cde4f0bfbf86bc3c427e4a3dcc3f2f472061a50d00040a0d8a57c88
View file https://github.com/vstinner/cpython/blob/940ddb116268a263b2504c23dbc44a566499b477/PC/python3dll.c
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/108570/files
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.