René's URL Explorer Experiment


Title: gh-101758: Add a Test For Single-Phase Init Module Variants by ericsnowcurrently · Pull Request #101891 · python/cpython · GitHub

Open Graph Title: gh-101758: Add a Test For Single-Phase Init Module Variants by ericsnowcurrently · Pull Request #101891 · python/cpython

X Title: gh-101758: Add a Test For Single-Phase Init Module Variants by ericsnowcurrently · Pull Request #101891 · python/cpython

Description: The new test exercises the most important variants for single-phase init extension modules. We also add some explanation about those variants to import.c. Issue: Isolate PyModuleDef to Each Inte...

Open Graph Description: The new test exercises the most important variants for single-phase init extension modules. We also add some explanation about those variants to import.c. Issue: Isolate PyModuleDef to Each Inte...

X Description: The new test exercises the most important variants for single-phase init extension modules. We also add some explanation about those variants to import.c. Issue: Isolate PyModuleDef to Each Inte...

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

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:80cd97a4-dedd-c9ec-589d-dbfb4dd865b7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9772:25CEAB:3504D8:485508:6969D98E
html-safe-nonce978762b8199be0fbad7d8e165bc2717774b8e2b6239e6098e1113881aaef2dc5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzcyOjI1Q0VBQjozNTA0RDg6NDg1NTA4OjY5NjlEOThFIiwidmlzaXRvcl9pZCI6IjExMjI2OTcxNjc0MTU0NDMzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac61e2aedf3dab18c691a99945e923b62b1122a73158dec2d9ec672e5b4b3070f0
hovercard-subject-tagpull_request:1239731362
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/101891/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/eaeda2ec7e81f95b5580e79bdfbd01c1cd9dcba2329e833a332b366700c307ba/python/cpython/pull/101891
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eaeda2ec7e81f95b5580e79bdfbd01c1cd9dcba2329e833a332b366700c307ba/python/cpython/pull/101891
og:image:altThe new test exercises the most important variants for single-phase init extension modules. We also add some explanation about those variants to import.c. Issue: Isolate PyModuleDef to Each Inte...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericsnowcurrently
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/101891#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101891
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%2F101891
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/101891
Reloadhttps://github.com/python/cpython/pull/101891
Reloadhttps://github.com/python/cpython/pull/101891
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/101891
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/101891
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/101891#issue-comment-box
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:test-legacy-extension-with-statehttps://github.com/ericsnowcurrently/cpython/tree/test-legacy-extension-with-state
gh-101758: Add a Test For Single-Phase Init Module Variants https://github.com/python/cpython/pull/101891#top
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:test-legacy-extension-with-statehttps://github.com/ericsnowcurrently/cpython/tree/test-legacy-extension-with-state
Conversation 3 https://github.com/python/cpython/pull/101891
Commits 8 https://github.com/python/cpython/pull/101891/commits
Checks 0 https://github.com/python/cpython/pull/101891/checks
Files changed https://github.com/python/cpython/pull/101891/files
Please reload this pagehttps://github.com/python/cpython/pull/101891
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Feb 13, 2023https://github.com/python/cpython/pull/101891#issue-1583186328
Please reload this pagehttps://github.com/python/cpython/pull/101891
Isolate PyModuleDef to Each Interpreter for Extension/Builtin Modules #101758https://github.com/python/cpython/issues/101758
Please reload this pagehttps://github.com/python/cpython/pull/101891
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
February 13, 2023 14:48https://github.com/python/cpython/pull/101891#commits-pushed-6c9bd47
https://github.com/ericsnowcurrently
Factor out fix_up_extension().https://github.com/python/cpython/pull/101891/commits/6c9bd476448d68d3849957e88f1463ff70cc57a7
6c9bd47https://github.com/python/cpython/pull/101891/commits/6c9bd476448d68d3849957e88f1463ff70cc57a7
https://github.com/ericsnowcurrently
Add an explanation about single-phase init variants.https://github.com/python/cpython/pull/101891/commits/8c0258abfc17df08ae61eca4493e5df917d6079a
8c0258ahttps://github.com/python/cpython/pull/101891/commits/8c0258abfc17df08ae61eca4493e5df917d6079a
https://github.com/ericsnowcurrently
Add a TODO comment.https://github.com/python/cpython/pull/101891/commits/d5a0fe64423693c67a66c07037edc988a37e980d
d5a0fe6https://github.com/python/cpython/pull/101891/commits/d5a0fe64423693c67a66c07037edc988a37e980d
https://github.com/ericsnowcurrently
Add the _testsinglephase_* modules.https://github.com/python/cpython/pull/101891/commits/97dee178cc5beb3d8850bc82d81a916c0d342ed5
97dee17https://github.com/python/cpython/pull/101891/commits/97dee178cc5beb3d8850bc82d81a916c0d342ed5
https://github.com/ericsnowcurrently
Add test_imp.ImportTests.test_singlephase_variants.https://github.com/python/cpython/pull/101891/commits/83aaef12df091eafd9701301654bdef016b1b8d3
83aaef1https://github.com/python/cpython/pull/101891/commits/83aaef12df091eafd9701301654bdef016b1b8d3
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
brettcannonhttps://github.com/brettcannon
encukouhttps://github.com/encukou
ncoghlanhttps://github.com/ncoghlan
warsawhttps://github.com/warsaw
code ownershttps://github.com/python/cpython/blob/0c6fe81dce9d6bb1dce5e4503f1b42bc5355ba24/.github/CODEOWNERS#L67
February 13, 2023 22:46https://github.com/python/cpython/pull/101891#event-8509613051
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
Feb 13, 2023https://github.com/python/cpython/pull/101891#event-8509613303
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 13, 2023 https://github.com/python/cpython/pull/101891#ref-issue-1578607034
Isolate PyModuleDef to Each Interpreter for Extension/Builtin Modules #101758 https://github.com/python/cpython/issues/101758
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Feb 13, 2023https://github.com/python/cpython/pull/101891#event-8509613900
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
February 14, 2023 11:04https://github.com/python/cpython/pull/101891#commits-pushed-285fcb9
https://github.com/ericsnowcurrently
Handle errors from _PyTime_GetMonotonicClock() correctly.https://github.com/python/cpython/pull/101891/commits/285fcb9d52c13049df43533c17c287e06802e457
285fcb9https://github.com/python/cpython/pull/101891/commits/285fcb9d52c13049df43533c17c287e06802e457
https://github.com/ericsnowcurrently
Return seconds from mod.initialized() instead of nanoseconds.https://github.com/python/cpython/pull/101891/commits/250606a12da97e13641fcc59b4f08fa56e584722
250606ahttps://github.com/python/cpython/pull/101891/commits/250606a12da97e13641fcc59b4f08fa56e584722
https://github.com/ericsnowcurrently
Make state->initialized strictly monotonic.https://github.com/python/cpython/pull/101891/commits/b7bf5881fd2492c314ce8e9854ea8d2c3fce6011
b7bf588https://github.com/python/cpython/pull/101891/commits/b7bf5881fd2492c314ce8e9854ea8d2c3fce6011
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
096d009https://github.com/python/cpython/commit/096d0097a09e439a4564531b297a998e5d74c9b5
Feb 14, 2023https://github.com/python/cpython/pull/101891#event-8519929198
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
Feb 14, 2023https://github.com/python/cpython/pull/101891#event-8519929661
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
February 14, 2023 21:26https://github.com/python/cpython/pull/101891#event-8519929851
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Feb 16, 2023 https://github.com/python/cpython/pull/101891#ref-pullrequest-1588519791
gh-101758: Fix Refleak Testing With test_singlephase_variants #101969 https://github.com/python/cpython/pull/101969
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Feb 17, 2023 https://github.com/python/cpython/pull/101891#ref-commit-984f8ab
https://github.com/ericsnowcurrently
gh-101758https://github.com/python/cpython/issues/101758
: Fix Refleak-Related Failures in test_singlephase_variants (https://github.com/python/cpython/commit/984f8ab018f847fe8d66768af962f69ec0e81849
g…https://github.com/python/cpython/pull/101969
984f8abhttps://github.com/python/cpython/commit/984f8ab018f847fe8d66768af962f69ec0e81849
…h-101969https://github.com/python/cpython/pull/101969
gh-101891https://github.com/python/cpython/pull/101891
#101758https://github.com/python/cpython/issues/101758
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Feb 17, 2023https://github.com/python/cpython/pull/101891#issuecomment-1434870169
Please reload this pagehttps://github.com/python/cpython/pull/101891
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 17, 2023https://github.com/python/cpython/pull/101891#issuecomment-1434870214
@gpsheadhttps://github.com/gpshead
b7bf588https://github.com/python/cpython/commit/b7bf5881fd2492c314ce8e9854ea8d2c3fce6011
Please reload this pagehttps://github.com/python/cpython/pull/101891
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
🔨 test-with-refleak-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-refleak-buildbots%22
Feb 17, 2023https://github.com/python/cpython/pull/101891#event-8548777628
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 17, 2023https://github.com/python/cpython/pull/101891#issuecomment-1434870901
@gpsheadhttps://github.com/gpshead
b7bf588https://github.com/python/cpython/commit/b7bf5881fd2492c314ce8e9854ea8d2c3fce6011
Please reload this pagehttps://github.com/python/cpython/pull/101891
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-refleak-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-refleak-buildbots%22
Feb 17, 2023https://github.com/python/cpython/pull/101891#event-8548778085
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Oct 4, 2024 https://github.com/python/cpython/pull/101891#ref-issue-2566976315
Improve Testing For Importing Multiple Extension Modules From One File (and Deal With _testimportmultiple.c) #124978 https://github.com/python/cpython/issues/124978
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%2F101891
https://github.com/brettcannon
brettcannon https://github.com/brettcannon
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/ncoghlan
ncoghlan https://github.com/ncoghlan
https://github.com/warsaw
warsaw https://github.com/warsaw
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/101891
https://github.com/ericsnowcurrently
https://github.com/gpshead
https://github.com/bedevere-bot
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.