René's URL Explorer Experiment


Title: [3.9] bpo-44050: Extension modules can share state when they don't support sub-interpreters. (GH-27794) by ambv · Pull Request #28741 · python/cpython · GitHub

Open Graph Title: [3.9] bpo-44050: Extension modules can share state when they don't support sub-interpreters. (GH-27794) by ambv · Pull Request #28741 · python/cpython

X Title: [3.9] bpo-44050: Extension modules can share state when they don't support sub-interpreters. (GH-27794) by ambv · Pull Request #28741 · python/cpython

Description: (cherry picked from commit b9bb748) Co-authored-by: Hai Shi shihai1992@gmail.com Note: this is a little different from 3.10 and 3.11 because in 3.10+ _Py_IsMainInterpreter takes PyInterpreterState ...

Open Graph Description: (cherry picked from commit b9bb748) Co-authored-by: Hai Shi shihai1992@gmail.com Note: this is a little different from 3.10 and 3.11 because in 3.10+ _Py_IsMainInterpreter takes PyInterpreterState ...

X Description: (cherry picked from commit b9bb748) Co-authored-by: Hai Shi shihai1992@gmail.com Note: this is a little different from 3.10 and 3.11 because in 3.10+ _Py_IsMainInterpreter takes PyInterpreterState ...

Mail addresses
shihai1992@gmail.com

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a3a6db4d-7700-5ebd-da17-4b19b306f797
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8092:2D943D:301675:435FEC:696A08D2
html-safe-nonce1eb839fae6eff0e39a0a1d45206e8815d22dc0017b5c334aae0f6ccd9a7a5273
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDkyOjJEOTQzRDozMDE2NzU6NDM1RkVDOjY5NkEwOEQyIiwidmlzaXRvcl9pZCI6IjQwNTE3MDE0NjI1MTk2NDY0MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca52008db5880413a338d394bb1d9235db7b1af288bbe29a0fae28fc9a0a06484
hovercard-subject-tagpull_request:750047784
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/28741/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ffcc25d8d3bf82d2f644af6a82276aadbef354295a01340996854f44591cb7f7/python/cpython/pull/28741
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ffcc25d8d3bf82d2f644af6a82276aadbef354295a01340996854f44591cb7f7/python/cpython/pull/28741
og:image:alt(cherry picked from commit b9bb748) Co-authored-by: Hai Shi shihai1992@gmail.com Note: this is a little different from 3.10 and 3.11 because in 3.10+ _Py_IsMainInterpreter takes PyInterpreterState ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameambv
hostnamegithub.com
expected-hostnamegithub.com
None699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595
turbo-cache-controlno-preview
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
release7266b2d935baa1c6474b16dd9feaa5ca30607261
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/28741#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F28741
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%2F28741
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
Reloadhttps://github.com/python/cpython/pull/28741
Reloadhttps://github.com/python/cpython/pull/28741
Reloadhttps://github.com/python/cpython/pull/28741
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/28741
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/28741
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
Jump to bottomhttps://github.com/python/cpython/pull/28741#issue-comment-box
ambvhttps://github.com/ambv
python:3.9https://github.com/python/cpython/tree/3.9
ambv:backport-b9bb748-3.9https://github.com/ambv/cpython/tree/backport-b9bb748-3.9
[3.9] bpo-44050: Extension modules can share state when they don't support sub-interpreters. (GH-27794) https://github.com/python/cpython/pull/28741#top
ambvhttps://github.com/ambv
python:3.9https://github.com/python/cpython/tree/3.9
ambv:backport-b9bb748-3.9https://github.com/ambv/cpython/tree/backport-b9bb748-3.9
Conversation 1 https://github.com/python/cpython/pull/28741
Commits 2 https://github.com/python/cpython/pull/28741/commits
Checks 0 https://github.com/python/cpython/pull/28741/checks
Files changed https://github.com/python/cpython/pull/28741/files
Please reload this pagehttps://github.com/python/cpython/pull/28741
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/ambv
ambvhttps://github.com/ambv
Oct 5, 2021https://github.com/python/cpython/pull/28741#issue-1016536948
Please reload this pagehttps://github.com/python/cpython/pull/28741
b9bb748https://github.com/python/cpython/commit/b9bb74871b27d9226df2dd3fce9d42bda8b43c2b
GH-24577https://github.com/python/cpython/pull/24577
GH-23122https://github.com/python/cpython/pull/23122
BPO-42327https://bugs.python.org/issue?@action=redirect&bpo=42327
https://bugs.python.org/issue44050https://bugs.python.org/issue44050
Please reload this pagehttps://github.com/python/cpython/pull/28741
https://github.com/shihai1991
https://github.com/ambv
[3.9] bpo-44050: Extension modules can share state when they don't su…https://github.com/python/cpython/pull/28741/commits/b83a4ffa9b0a5d772e1210e83c807885e14741c5
b83a4ffhttps://github.com/python/cpython/pull/28741/commits/b83a4ffa9b0a5d772e1210e83c807885e14741c5
pythonGH-27794https://github.com/python/cpython/pull/27794
b9bb748https://github.com/ambv/cpython/commit/b9bb74871b27d9226df2dd3fce9d42bda8b43c2b
https://github.com/ambv
ambvhttps://github.com/ambv
brettcannonhttps://github.com/brettcannon
encukouhttps://github.com/encukou
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
ncoghlanhttps://github.com/ncoghlan
warsawhttps://github.com/warsaw
code ownershttps://github.com/python/cpython/blob/63c9a6cc8b48740c88199b5150c9948b1a61756b/.github/CODEOWNERS#L44
October 5, 2021 16:34https://github.com/python/cpython/pull/28741#event-5412023628
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 5, 2021https://github.com/python/cpython/pull/28741#event-5412023800
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Oct 5, 2021https://github.com/python/cpython/pull/28741#event-5412023841
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Oct 5, 2021 https://github.com/python/cpython/pull/28741#ref-pullrequest-972632047
bpo-44050: Extension modules can share state when they don't support sub-interpreters. #27794 https://github.com/python/cpython/pull/27794
https://github.com/ambv
Replace the non-existent PyModule_AddObjectRef with PyModule_AddObjecthttps://github.com/python/cpython/pull/28741/commits/f53acff6d50a5838536034e1aac226eccc27e831
f53acffhttps://github.com/python/cpython/pull/28741/commits/f53acff6d50a5838536034e1aac226eccc27e831
https://github.com/ambv
ambvhttps://github.com/ambv
52d9d3bhttps://github.com/python/cpython/commit/52d9d3b75441ae6038fadead89eac5eecdd34501
Oct 5, 2021https://github.com/python/cpython/pull/28741#event-5413366022
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 5, 2021https://github.com/python/cpython/pull/28741#event-5413366270
https://github.com/ambv
ambvhttps://github.com/ambv
October 5, 2021 20:41https://github.com/python/cpython/pull/28741#event-5413445873
https://github.com/encukou
encukouhttps://github.com/encukou
Oct 12, 2021https://github.com/python/cpython/pull/28741#issuecomment-940990456
Please reload this pagehttps://github.com/python/cpython/pull/28741
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 15, 2022 https://github.com/python/cpython/pull/28741#ref-issue-1199047180
C API: Add PyModule_Add() function #86493 https://github.com/python/cpython/issues/86493
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F28741
https://github.com/brettcannon
brettcannon https://github.com/brettcannon
https://github.com/encukou
encukou https://github.com/encukou
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
Please reload this pagehttps://github.com/python/cpython/pull/28741
https://github.com/ambv
https://github.com/encukou
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
https://github.com/shihai1991
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.