| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:58b11f0c-86ce-6b35-a9c2-61e36977d1be |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 873A:22F52E:13540C2:1A7F2BC:696A9F14 |
| html-safe-nonce | 061c2c75003509ed4781e3eae4b8616716fa2a52e10c252dbf99b206223a5852 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzNBOjIyRjUyRToxMzU0MEMyOjFBN0YyQkM6Njk2QTlGMTQiLCJ2aXNpdG9yX2lkIjoiNzExMDg4OTk4MTc4ODk4NzE1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 86869b4c6d5f0b01783428ef56d8b13e80f64a4aa164994f4f0b9760908ed5e9 |
| hovercard-subject-tag | pull_request:2846891799 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/139196/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5ff00aa0484f66394dc46e126edb0e3123dec87a7f983eedb2d1a37d99a09deb/python/cpython/pull/139196 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5ff00aa0484f66394dc46e126edb0e3123dec87a7f983eedb2d1a37d99a09deb/python/cpython/pull/139196 |
| og:image:alt | C-API WG decision: capi-workgroup/decisions#77
Issue: Expose a C-API function to allow custom importers to create a module using an init function #116146 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | itamaro |
| hostname | github.com |
| expected-hostname | github.com |
| None | a51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4bd0eac606c70914085176ef312ebdcd97a8cdf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/139196#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139196 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F139196 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/139196 |
| Reload | https://github.com/python/cpython/pull/139196 |
| Reload | https://github.com/python/cpython/pull/139196 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
|
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 page | https://github.com/python/cpython/pull/139196 |
|
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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/139196#issue-comment-box |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| itamaro:gh-116146-create-builtin-initfunc | https://github.com/itamaro/cpython/tree/gh-116146-create-builtin-initfunc |
|
gh-116146: Add C-API to create module from spec and initfunc
| https://github.com/python/cpython/pull/139196#top |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| itamaro:gh-116146-create-builtin-initfunc | https://github.com/itamaro/cpython/tree/gh-116146-create-builtin-initfunc |
|
Conversation
27
| https://github.com/python/cpython/pull/139196 |
|
Commits
15
| https://github.com/python/cpython/pull/139196/commits |
|
Checks
44
| https://github.com/python/cpython/pull/139196/checks |
|
Files changed
| https://github.com/python/cpython/pull/139196/files |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| Sep 21, 2025 | https://github.com/python/cpython/pull/139196#issue-3437925066 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| capi-workgroup/decisions#77 | https://github.com/capi-workgroup/decisions/issues/77 |
| Expose a C-API function to allow custom importers to create a module using an init function #116146 | https://github.com/python/cpython/issues/116146 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Sep 21, 2025
| https://github.com/python/cpython/pull/139196#ref-issue-2162074863 |
|
Expose a C-API function to allow custom importers to create a module using an init function
#116146
| https://github.com/python/cpython/issues/116146 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| force-pushed | https://github.com/python/cpython/compare/f9cd7052ad060d002de7c066e621f8705200b483..4363e5aad520e561bec32c6ab5c6fc9477caf7ad |
| f9cd705 | https://github.com/python/cpython/commit/f9cd7052ad060d002de7c066e621f8705200b483 |
| 4363e5a | https://github.com/python/cpython/commit/4363e5aad520e561bec32c6ab5c6fc9477caf7ad |
|
Compare
| https://github.com/python/cpython/compare/f9cd7052ad060d002de7c066e621f8705200b483..4363e5aad520e561bec32c6ab5c6fc9477caf7ad |
| September 21, 2025 19:25 | https://github.com/python/cpython/pull/139196#event-19823855073 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
Sep 23, 2025
| https://github.com/python/cpython/pull/139196#ref-issue-3440414470 |
|
_PyImport_SwapPackageContext would be helpful if exposed
#139227
| https://github.com/python/cpython/issues/139227 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
Sep 23, 2025
| https://github.com/python/cpython/pull/139196#pullrequestreview-3257699144 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139196/files |
| encukou | https://github.com/encukou |
| https://github.com/python/cpython/pull/139196#pullrequestreview-3257699144 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| PEP-793 | https://peps.python.org/793 |
| C API WG | https://github.com/capi-workgroup/decisions/issues |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| Python/import.c | https://github.com/python/cpython/pull/139196/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| Sep 23, 2025 | https://github.com/python/cpython/pull/139196#issuecomment-3324557255 |
| C API WG | https://github.com/capi-workgroup/decisions/issues |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Sep 24, 2025 | https://github.com/python/cpython/pull/139196#issuecomment-3328623910 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
|
Sep 24, 2025
| https://github.com/python/cpython/pull/139196#ref-issue-3449779065 |
|
Expose a C-API to allow custom importers to create a module directly from spec & initfunc
capi-workgroup/decisions#77
| https://github.com/capi-workgroup/decisions/issues/77 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| Sep 24, 2025 | https://github.com/python/cpython/pull/139196#issuecomment-3329052644 |
| capi-workgroup/decisions#77 | https://github.com/capi-workgroup/decisions/issues/77 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Sep 26, 2025
| https://github.com/python/cpython/pull/139196#pullrequestreview-3272819382 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139196/files |
| Python/import.c | https://github.com/python/cpython/pull/139196/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| itamaro | https://github.com/itamaro |
| November 8, 2025 08:09 | https://github.com/python/cpython/pull/139196#commits-pushed-403c7e2 |
|
| https://github.com/itamaro |
| pythongh-116146 | https://github.com/python/cpython/issues/116146 |
| : Add new C-API to create builtin from spec and initfunc | https://github.com/python/cpython/pull/139196/commits/403c7e21182ada18cfe5ce544eb3e2641981257f |
| 403c7e2 | https://github.com/python/cpython/pull/139196/commits/403c7e21182ada18cfe5ce544eb3e2641981257f |
|
| https://github.com/itamaro |
| Apply review feedback and CAPI WG decision | https://github.com/python/cpython/pull/139196/commits/074a51080070e63bed8c0ec4c78c5d22c56bdd7b |
| 074a510 | https://github.com/python/cpython/pull/139196/commits/074a51080070e63bed8c0ec4c78c5d22c56bdd7b |
|
| https://github.com/itamaro |
| Add tests for the PyImport_CreateModuleFromInitfunc API | https://github.com/python/cpython/pull/139196/commits/d38c0e4a4bf99238d11889789836fbf1f1394da0 |
| d38c0e4 | https://github.com/python/cpython/pull/139196/commits/d38c0e4a4bf99238d11889789836fbf1f1394da0 |
|
| https://github.com/itamaro |
| Document the new PyImport_CreateModuleFromInitfunc C-API | https://github.com/python/cpython/pull/139196/commits/d5be6e593aabec25b7eab3c80cbc40c7d72636ed |
| d5be6e5 | https://github.com/python/cpython/pull/139196/commits/d5be6e593aabec25b7eab3c80cbc40c7d72636ed |
|
| https://github.com/itamaro |
| Add news entry | https://github.com/python/cpython/pull/139196/commits/781a7305418fee5e1e7c75f34aa1fdeeb152a279 |
| 781a730 | https://github.com/python/cpython/pull/139196/commits/781a7305418fee5e1e7c75f34aa1fdeeb152a279 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| force-pushed | https://github.com/python/cpython/compare/4363e5aad520e561bec32c6ab5c6fc9477caf7ad..781a7305418fee5e1e7c75f34aa1fdeeb152a279 |
| 4363e5a | https://github.com/python/cpython/commit/4363e5aad520e561bec32c6ab5c6fc9477caf7ad |
| 781a730 | https://github.com/python/cpython/commit/781a7305418fee5e1e7c75f34aa1fdeeb152a279 |
|
Compare
| https://github.com/python/cpython/compare/4363e5aad520e561bec32c6ab5c6fc9477caf7ad..781a7305418fee5e1e7c75f34aa1fdeeb152a279 |
| November 8, 2025 18:52 | https://github.com/python/cpython/pull/139196#event-20809284501 |
| itamaro | https://github.com/itamaro |
| November 8, 2025 10:54 | https://github.com/python/cpython/pull/139196#commits-pushed-7af34eb |
|
| https://github.com/itamaro |
| Fix lint | https://github.com/python/cpython/pull/139196/commits/7af34eb116d21f8711548b47ee1e0681b0f98440 |
| 7af34eb | https://github.com/python/cpython/pull/139196/commits/7af34eb116d21f8711548b47ee1e0681b0f98440 |
|
| https://github.com/itamaro |
| fix CI | https://github.com/python/cpython/pull/139196/commits/35e9e786a4920a67bf151125ff3ad256177e00db |
| 35e9e78 | https://github.com/python/cpython/pull/139196/commits/35e9e786a4920a67bf151125ff3ad256177e00db |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| Nov 9, 2025 | https://github.com/python/cpython/pull/139196#event-20814926063 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| November 9, 2025 01:01 | https://github.com/python/cpython/pull/139196#event-20814926851 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| brettcannon | https://github.com/brettcannon |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| kumaraditya303 | https://github.com/kumaraditya303 |
| ncoghlan | https://github.com/ncoghlan |
| warsaw | https://github.com/warsaw |
| code owners | https://github.com/python/cpython/blob/0ac890bea79d3e0162c8909b0999f626f1141d89/.github/CODEOWNERS#L254 |
| November 9, 2025 01:01 | https://github.com/python/cpython/pull/139196#event-20814926913 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Nov 9, 2025 | https://github.com/python/cpython/pull/139196#event-20814927077 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Nov 9, 2025
| https://github.com/python/cpython/pull/139196#pullrequestreview-3439405700 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139196/files/35e9e786a4920a67bf151125ff3ad256177e00db |
| Python/import.c | https://github.com/python/cpython/pull/139196/files/35e9e786a4920a67bf151125ff3ad256177e00db#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
|
| https://github.com/itamaro |
|
| https://github.com/kumaraditya303 |
| Apply Kumar's review suggestion | https://github.com/python/cpython/pull/139196/commits/6aa2fb2cd6014f59daaafb0677433e827b23b5ff |
| 6aa2fb2 | https://github.com/python/cpython/pull/139196/commits/6aa2fb2cd6014f59daaafb0677433e827b23b5ff |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Nov 11, 2025 | https://github.com/python/cpython/pull/139196#issuecomment-3517336877 |
| itamaro#27 | https://github.com/itamaro/cpython/pull/27 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
|
| https://github.com/encukou |
|
| https://github.com/itamaro |
| PyImport_CreateModuleFromInitfunc: Doc & test update ( | https://github.com/python/cpython/pull/139196/commits/f65239982dc8f64fc466fb31c42235fbb04eb5f4 |
| #27 | https://github.com/itamaro/cpython/pull/27 |
| ) | https://github.com/python/cpython/pull/139196/commits/f65239982dc8f64fc466fb31c42235fbb04eb5f4 |
| f652399 | https://github.com/python/cpython/pull/139196/commits/f65239982dc8f64fc466fb31c42235fbb04eb5f4 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Nov 12, 2025
| https://github.com/python/cpython/pull/139196#pullrequestreview-3452668574 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139196/files/f65239982dc8f64fc466fb31c42235fbb04eb5f4 |
| Doc/c-api/import.rst | https://github.com/python/cpython/pull/139196/files/f65239982dc8f64fc466fb31c42235fbb04eb5f4#diff-e09055f4c5a7b5a9ba94cb40fd5a149c257cff5cb5ec64c20ae21f997110876b |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| Include/cpython/import.h | https://github.com/python/cpython/pull/139196/files/f65239982dc8f64fc466fb31c42235fbb04eb5f4#diff-d337ab1e64973b8a4a1948827ad0beb59a89bfe8a66f521b1b80aaf7483677b0 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| Programs/_testembed.c | https://github.com/python/cpython/pull/139196/files/f65239982dc8f64fc466fb31c42235fbb04eb5f4#diff-68b4b67b7265522a6f47393ef786b2034f5d6c53f1a9574780d72662c2361fad |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| Programs/_testembed.c | https://github.com/python/cpython/pull/139196/files/f65239982dc8f64fc466fb31c42235fbb04eb5f4#diff-68b4b67b7265522a6f47393ef786b2034f5d6c53f1a9574780d72662c2361fad |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| Programs/_testembed.c | https://github.com/python/cpython/pull/139196/files/f65239982dc8f64fc466fb31c42235fbb04eb5f4#diff-68b4b67b7265522a6f47393ef786b2034f5d6c53f1a9574780d72662c2361fad |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| Python/import.c | https://github.com/python/cpython/pull/139196/files/f65239982dc8f64fc466fb31c42235fbb04eb5f4#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
|
| https://github.com/itamaro |
|
| https://github.com/vstinner |
| Apply Victor's review suggestions | https://github.com/python/cpython/pull/139196/commits/c4f1cc8c039e92ae015fbb971a22e434f446f7a7 |
| c4f1cc8 | https://github.com/python/cpython/pull/139196/commits/c4f1cc8c039e92ae015fbb971a22e434f446f7a7 |
| https://github.com/apps/python-cla-bot |
| python-cla-bot | https://github.com/apps/python-cla-bot |
| Nov 12, 2025 | https://github.com/python/cpython/pull/139196#issuecomment-3522741733 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://cla.python.org/ |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| itamaro | https://github.com/itamaro |
| November 12, 2025 08:17 | https://github.com/python/cpython/pull/139196#commits-pushed-29b1b68 |
|
| https://github.com/itamaro |
| Set error if initfunc is NULL | https://github.com/python/cpython/pull/139196/commits/29b1b68f6cc403c6526b726e4a02513ac60f1c29 |
| 29b1b68 | https://github.com/python/cpython/pull/139196/commits/29b1b68f6cc403c6526b726e4a02513ac60f1c29 |
|
| https://github.com/itamaro |
| Account for the RuntimeWarning when import a singlephase init extensi… | https://github.com/python/cpython/pull/139196/commits/116595016dcf7f7c14f7005cf7fb6e29ebb9931e |
| 1165950 | https://github.com/python/cpython/pull/139196/commits/116595016dcf7f7c14f7005cf7fb6e29ebb9931e |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| force-pushed | https://github.com/python/cpython/compare/8f16533de924785b7da959ed93c8bb0f4340ae2a..116595016dcf7f7c14f7005cf7fb6e29ebb9931e |
| 8f16533 | https://github.com/python/cpython/commit/8f16533de924785b7da959ed93c8bb0f4340ae2a |
| 1165950 | https://github.com/python/cpython/commit/116595016dcf7f7c14f7005cf7fb6e29ebb9931e |
|
Compare
| https://github.com/python/cpython/compare/8f16533de924785b7da959ed93c8bb0f4340ae2a..116595016dcf7f7c14f7005cf7fb6e29ebb9931e |
| November 12, 2025 16:18 | https://github.com/python/cpython/pull/139196#event-20892779921 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| Nov 12, 2025 | https://github.com/python/cpython/pull/139196#issuecomment-3522765224 |
| @encukou | https://github.com/encukou |
| @vstinner | https://github.com/vstinner |
| @kumaraditya303 | https://github.com/kumaraditya303 |
| @encukou | https://github.com/encukou |
| gh-141197 | https://github.com/python/cpython/pull/141197 |
| gh-141197 | https://github.com/python/cpython/pull/141197 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Nov 12, 2025
| https://github.com/python/cpython/pull/139196#pullrequestreview-3454451488 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139196/files/116595016dcf7f7c14f7005cf7fb6e29ebb9931e |
| vstinner | https://github.com/vstinner |
| https://github.com/python/cpython/pull/139196#pullrequestreview-3454451488 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| Misc/NEWS.d/next/C_API/2025-11-08-10-51-50.gh-issue-116146.pCmx6L.rst | https://github.com/python/cpython/pull/139196/files/116595016dcf7f7c14f7005cf7fb6e29ebb9931e#diff-c91c1d83eade72a1126722117a0cd2751c3d617f5cdcf7bcdbaa935c9e49d5b7 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
Nov 13, 2025
| https://github.com/python/cpython/pull/139196#pullrequestreview-3458788261 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139196/files/116595016dcf7f7c14f7005cf7fb6e29ebb9931e |
| Doc/c-api/import.rst | https://github.com/python/cpython/pull/139196/files/116595016dcf7f7c14f7005cf7fb6e29ebb9931e#diff-e09055f4c5a7b5a9ba94cb40fd5a149c257cff5cb5ec64c20ae21f997110876b |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Nov 13, 2025
| https://github.com/python/cpython/pull/139196#pullrequestreview-3459086789 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139196/files/116595016dcf7f7c14f7005cf7fb6e29ebb9931e |
| Include/cpython/import.h | https://github.com/python/cpython/pull/139196/files/116595016dcf7f7c14f7005cf7fb6e29ebb9931e#diff-d337ab1e64973b8a4a1948827ad0beb59a89bfe8a66f521b1b80aaf7483677b0 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Nov 13, 2025
| https://github.com/python/cpython/pull/139196#pullrequestreview-3459091083 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139196/files/116595016dcf7f7c14f7005cf7fb6e29ebb9931e |
| Programs/_testembed.c | https://github.com/python/cpython/pull/139196/files/116595016dcf7f7c14f7005cf7fb6e29ebb9931e#diff-68b4b67b7265522a6f47393ef786b2034f5d6c53f1a9574780d72662c2361fad |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Nov 13, 2025
| https://github.com/python/cpython/pull/139196#pullrequestreview-3459103509 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139196/files/116595016dcf7f7c14f7005cf7fb6e29ebb9931e |
| Python/import.c | https://github.com/python/cpython/pull/139196/files/116595016dcf7f7c14f7005cf7fb6e29ebb9931e#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
|
| https://github.com/itamaro |
|
| https://github.com/encukou |
|
| https://github.com/kumaraditya303 |
|
| https://github.com/vstinner |
| Apply suggestions from code review | https://github.com/python/cpython/pull/139196/commits/79e5d0eb4e582e58ed682b7ff4679ada77176b23 |
| 79e5d0e | https://github.com/python/cpython/pull/139196/commits/79e5d0eb4e582e58ed682b7ff4679ada77176b23 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| AA-Turner | https://github.com/AA-Turner |
| code owner | https://github.com/python/cpython/blob/d7862e9b1bd8f82e41c4f2c4dad31e15707d856f/.github/CODEOWNERS#L114 |
| November 13, 2025 15:31 | https://github.com/python/cpython/pull/139196#event-20920444273 |
|
| https://github.com/itamaro |
| Mention new C-API in whatsnew | https://github.com/python/cpython/pull/139196/commits/fbfde0a31c7f6c3b0426b0385052cdd40b327c87 |
| fbfde0a | https://github.com/python/cpython/pull/139196/commits/fbfde0a31c7f6c3b0426b0385052cdd40b327c87 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| force-pushed | https://github.com/python/cpython/compare/fabafb54bcf764e8251c27fa94f3e182fe5a2039..fbfde0a31c7f6c3b0426b0385052cdd40b327c87 |
| fabafb5 | https://github.com/python/cpython/commit/fabafb54bcf764e8251c27fa94f3e182fe5a2039 |
| fbfde0a | https://github.com/python/cpython/commit/fbfde0a31c7f6c3b0426b0385052cdd40b327c87 |
|
Compare
| https://github.com/python/cpython/compare/fabafb54bcf764e8251c27fa94f3e182fe5a2039..fbfde0a31c7f6c3b0426b0385052cdd40b327c87 |
| November 13, 2025 15:32 | https://github.com/python/cpython/pull/139196#event-20920460311 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Nov 13, 2025
| https://github.com/python/cpython/pull/139196#pullrequestreview-3460479632 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139196/files/fbfde0a31c7f6c3b0426b0385052cdd40b327c87 |
| vstinner | https://github.com/vstinner |
| https://github.com/python/cpython/pull/139196#pullrequestreview-3460479632 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Nov 13, 2025 | https://github.com/python/cpython/pull/139196#event-20920969762 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Nov 13, 2025
| https://github.com/python/cpython/pull/139196#pullrequestreview-3460552885 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139196/files/fbfde0a31c7f6c3b0426b0385052cdd40b327c87 |
|
| https://github.com/itamaro |
| Merge branch 'main' into | https://github.com/python/cpython/pull/139196/commits/f485fcbb7ee9e7baf2c53e40f96e5f53b87bd966 |
| pythongh-116146 | https://github.com/python/cpython/issues/116146 |
| -create-builtin-initfunc | https://github.com/python/cpython/pull/139196/commits/f485fcbb7ee9e7baf2c53e40f96e5f53b87bd966 |
| f485fcb | https://github.com/python/cpython/pull/139196/commits/f485fcbb7ee9e7baf2c53e40f96e5f53b87bd966 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| 1e4e59b | https://github.com/python/cpython/commit/1e4e59bb3714ba7c6b6297f1a74e231b056f004c |
| Nov 14, 2025 | https://github.com/python/cpython/pull/139196#event-20938701968 |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Nov 14, 2025 | https://github.com/python/cpython/pull/139196#event-20938703162 |
| encukou | https://github.com/encukou |
|
Nov 14, 2025
| https://github.com/python/cpython/pull/139196#ref-commit-816023d |
|
| https://github.com/encukou |
| Link reference to PyModule_Exec added in | https://github.com/encukou/cpython/commit/816023d344e24b2842c483f49a9eca5ee2062c7e |
| python#139196 | https://github.com/python/cpython/pull/139196 |
| 816023d | https://github.com/encukou/cpython/commit/816023d344e24b2842c483f49a9eca5ee2062c7e |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Nov 14, 2025 | https://github.com/python/cpython/pull/139196#issuecomment-3532226869 |
| @itamaro | https://github.com/itamaro |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
| November 15, 2025 23:40 | https://github.com/python/cpython/pull/139196#event-20965337309 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
|
Dec 1, 2025
| https://github.com/python/cpython/pull/139196#ref-issue-3673390705 |
|
Assertion failures from calling create_builtin with invalid object
#142029
| https://github.com/python/cpython/issues/142029 |
| StanFromIreland | https://github.com/StanFromIreland |
|
Dec 6, 2025
| https://github.com/python/cpython/pull/139196#ref-commit-d8c42b4 |
|
| https://github.com/itamaro |
|
| https://github.com/kumaraditya303 |
|
| https://github.com/encukou |
|
| https://github.com/vstinner |
|
| https://github.com/StanFromIreland |
| pythongh-116146 | https://github.com/python/cpython/issues/116146 |
| : Add C-API to create module from spec and initfunc ( | https://github.com/StanFromIreland/cpython/commit/d8c42b46b030b330dcafecaabe790decaefef564 |
| p… | https://github.com/python/cpython/pull/139196 |
| d8c42b4 | https://github.com/StanFromIreland/cpython/commit/d8c42b46b030b330dcafecaabe790decaefef564 |
| …ythonGH-139196 | https://github.com/python/cpython/pull/139196 |
| https://github.com/itamaro |
| itamaro | https://github.com/itamaro |
|
Dec 11, 2025
| https://github.com/python/cpython/pull/139196#ref-pullrequest-3676054733 |
|
gh-142029: Raise ModuleNotFoundError instead of crashing on nonexsistent module name given to create_builtin()
#142054
| https://github.com/python/cpython/pull/142054 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139196 |
|
| https://github.com/encukou |
|
encukou
| https://github.com/encukou |
|
| https://github.com/python/cpython/pull/139196/files/116595016dcf7f7c14f7005cf7fb6e29ebb9931e |
|
| https://github.com/vstinner |
|
vstinner
| https://github.com/vstinner |
|
| https://github.com/python/cpython/pull/139196/files/fbfde0a31c7f6c3b0426b0385052cdd40b327c87 |
|
| https://github.com/kumaraditya303 |
|
kumaraditya303
| https://github.com/kumaraditya303 |
|
| https://github.com/python/cpython/pull/139196/files/fbfde0a31c7f6c3b0426b0385052cdd40b327c87 |
|
| https://github.com/brettcannon |
|
brettcannon
| https://github.com/brettcannon |
|
| https://github.com/ericsnowcurrently |
|
ericsnowcurrently
| https://github.com/ericsnowcurrently |
|
| https://github.com/ncoghlan |
|
ncoghlan
| https://github.com/ncoghlan |
|
| https://github.com/warsaw |
|
warsaw
| https://github.com/warsaw |
|
| https://github.com/AA-Turner |
|
AA-Turner
| https://github.com/AA-Turner |
| Please reload this page | https://github.com/python/cpython/pull/139196 |
|
| https://github.com/itamaro |
|
| https://github.com/encukou |
|
| https://github.com/vstinner |
|
| https://github.com/kumaraditya303 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |