René's URL Explorer Experiment


Title: bpo-38823: Add a private _PyModule_StealObject API. by brandtbucher · Pull Request #17298 · python/cpython · GitHub

Open Graph Title: bpo-38823: Add a private _PyModule_StealObject API. by brandtbucher · Pull Request #17298 · python/cpython

X Title: bpo-38823: Add a private _PyModule_StealObject API. by brandtbucher · Pull Request #17298 · python/cpython

Description: This will be helpful for the refactoring I'm doing in bpo-38823, and keep the diffs small. It's also just nice to have around, since it (not PyModule_AddObject) is actually what we want in most cas...

Open Graph Description: This will be helpful for the refactoring I'm doing in bpo-38823, and keep the diffs small. It's also just nice to have around, since it (not PyModule_AddObject) is actually what we want in ...

X Description: This will be helpful for the refactoring I'm doing in bpo-38823, and keep the diffs small. It's also just nice to have around, since it (not PyModule_AddObject) is actually what we ...

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

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:cfce7ef4-d3a1-4c07-71f3-300c5c2dba5a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC7DA:6F200:AF06D5:F01CEB:6969F174
html-safe-nonce6fd579e9fc7d000968e7e70e5bb01fd711bc10c2cd77fa38bc215018af4d8fa7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0RBOjZGMjAwOkFGMDZENTpGMDFDRUI6Njk2OUYxNzQiLCJ2aXNpdG9yX2lkIjoiNDc4MTA5MDc1NzM5NDY5MDQyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac26b46c0f0ae267bf2e54390d5c22242f33718570b9e6d8017f57cb2dc54f051a
hovercard-subject-tagpull_request:343531867
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/17298/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1da232dd92fbb1519aa35179b44a45c0194e5f82bef6d9c2f97563ee0c8f8f9c/python/cpython/pull/17298
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1da232dd92fbb1519aa35179b44a45c0194e5f82bef6d9c2f97563ee0c8f8f9c/python/cpython/pull/17298
og:image:altThis will be helpful for the refactoring I'm doing in bpo-38823, and keep the diffs small. It's also just nice to have around, since it (not PyModule_AddObject) is actually what we want in ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrandtbucher
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-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/17298#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F17298
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%2F17298
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/17298
Reloadhttps://github.com/python/cpython/pull/17298
Reloadhttps://github.com/python/cpython/pull/17298
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/17298
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/17298
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/17298#issue-comment-box
brandtbucherhttps://github.com/brandtbucher
python:masterhttps://github.com/python/cpython/tree/master
brandtbucher:_PyModule_StealObjecthttps://github.com/brandtbucher/cpython/tree/_PyModule_StealObject
bpo-38823: Add a private _PyModule_StealObject API. https://github.com/python/cpython/pull/17298#top
brandtbucherhttps://github.com/brandtbucher
python:masterhttps://github.com/python/cpython/tree/master
brandtbucher:_PyModule_StealObjecthttps://github.com/brandtbucher/cpython/tree/_PyModule_StealObject
Conversation 11 https://github.com/python/cpython/pull/17298
Commits 8 https://github.com/python/cpython/pull/17298/commits
Checks 0 https://github.com/python/cpython/pull/17298/checks
Files changed https://github.com/python/cpython/pull/17298/files
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Nov 20, 2019https://github.com/python/cpython/pull/17298#issue-526012245
Please reload this pagehttps://github.com/python/cpython/pull/17298
bpo-38823https://bugs.python.org/issue38823
https://bugs.python.org/issue38823https://bugs.python.org/issue38823
Please reload this pagehttps://github.com/python/cpython/pull/17298
brandtbucherhttps://github.com/brandtbucher
November 20, 2019 09:26https://github.com/python/cpython/pull/17298#commits-pushed-a59525c
https://github.com/brandtbucher
Add private _PyModule_StealObject API.https://github.com/python/cpython/pull/17298/commits/a59525cc69bc2bc2f0c40e4bf86674aa5906eeef
a59525chttps://github.com/python/cpython/pull/17298/commits/a59525cc69bc2bc2f0c40e4bf86674aa5906eeef
https://github.com/brandtbucher
Add _PyModule_StealObject to modsupport.h.https://github.com/python/cpython/pull/17298/commits/f3e806e15e2d5f4e494afac9b2d366f476cf49a6
f3e806ehttps://github.com/python/cpython/pull/17298/commits/f3e806e15e2d5f4e494afac9b2d366f476cf49a6
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
Nov 20, 2019https://github.com/python/cpython/pull/17298#event-2816386109
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 20, 2019https://github.com/python/cpython/pull/17298#event-2816386320
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/17298/commits/440bb722cedd11d32393024c24a510b9b12d632e
440bb72https://github.com/python/cpython/pull/17298/commits/440bb722cedd11d32393024c24a510b9b12d632e
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Nov 20, 2019https://github.com/python/cpython/pull/17298#event-2816519219
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Nov 20, 2019https://github.com/python/cpython/pull/17298#issuecomment-556299691
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Nov 21, 2019https://github.com/python/cpython/pull/17298#issuecomment-557124753
Please reload this pagehttps://github.com/python/cpython/pull/17298
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Dec 5, 2019https://github.com/python/cpython/pull/17298#issuecomment-562359403
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Dec 5, 2019https://github.com/python/cpython/pull/17298#issuecomment-562359874
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 5, 2019 https://github.com/python/cpython/pull/17298#pullrequestreview-327914580
View reviewed changes https://github.com/python/cpython/pull/17298/files/440bb722cedd11d32393024c24a510b9b12d632e
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/17298#pullrequestreview-327914580
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Dec 5, 2019https://github.com/python/cpython/pull/17298#event-2859647731
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 5, 2019https://github.com/python/cpython/pull/17298#issuecomment-562360995
Please reload this pagehttps://github.com/python/cpython/pull/17298
brandtbucherhttps://github.com/brandtbucher
January 27, 2020 17:26https://github.com/python/cpython/pull/17298#commits-pushed-418d79b
https://github.com/brandtbucher
Clean up refleaks in _warnings initialization.https://github.com/python/cpython/pull/17298/commits/418d79bdcdcb3e59adcb5737f7bbf859b59c0bcb
418d79bhttps://github.com/python/cpython/pull/17298/commits/418d79bdcdcb3e59adcb5737f7bbf859b59c0bcb
https://github.com/brandtbucher
Clean up refleaks in _msi initialization.https://github.com/python/cpython/pull/17298/commits/5fef8fb71ec68850f972531b16bab06c5e39033d
5fef8fbhttps://github.com/python/cpython/pull/17298/commits/5fef8fb71ec68850f972531b16bab06c5e39033d
https://github.com/brandtbucher
Clean up refleaks in _functools initialization.https://github.com/python/cpython/pull/17298/commits/b1fb2760a527c3db3418a7c6d54d4f21cf8c8eba
b1fb276https://github.com/python/cpython/pull/17298/commits/b1fb2760a527c3db3418a7c6d54d4f21cf8c8eba
https://github.com/brandtbucher
Clean up refleaks in _collections initialization.https://github.com/python/cpython/pull/17298/commits/08a80609bc3d72fc9a832df2543933bfb47bf30c
08a8060https://github.com/python/cpython/pull/17298/commits/08a80609bc3d72fc9a832df2543933bfb47bf30c
https://github.com/brandtbucher
Clean up refleaks in _bz2 initialization.https://github.com/python/cpython/pull/17298/commits/95f9800880007ff0fbd5b52834c6b6a9c678a42f
95f9800https://github.com/python/cpython/pull/17298/commits/95f9800880007ff0fbd5b52834c6b6a9c678a42f
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
rhettingerhttps://github.com/rhettinger
code ownershttps://github.com/python/cpython/blob/884eb89d4a5cc8e023deaa65001dfa74a436694c/.github/CODEOWNERS#L87
January 28, 2020 01:46https://github.com/python/cpython/pull/17298#event-2984016049
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Jan 28, 2020https://github.com/python/cpython/pull/17298#issuecomment-579040539
@ncoghlanhttps://github.com/ncoghlan
@vstinnerhttps://github.com/vstinner
_ctypeshttps://github.com/python/cpython/blob/master/Modules/_ctypes/_ctypes.c#L5825-L5845
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Jan 28, 2020https://github.com/python/cpython/pull/17298#issuecomment-579045988
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Jan 28, 2020https://github.com/python/cpython/pull/17298#event-2984051059
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jan 28, 2020https://github.com/python/cpython/pull/17298#issuecomment-579046001
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
vstinnerhttps://github.com/vstinner
January 28, 2020 02:09https://github.com/python/cpython/pull/17298#event-2984051124
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Feb 5, 2020 https://github.com/python/cpython/pull/17298#ref-pullrequest-560351266
bpo-1635741: Calling Py_INCREF() after PyModule_AddObject() success to run #18365 https://github.com/python/cpython/pull/18365
https://github.com/shihai1991
shihai1991https://github.com/shihai1991
Nov 12, 2020https://github.com/python/cpython/pull/17298#issuecomment-725829013
#23122https://github.com/python/cpython/pull/23122
@brandtbucherhttps://github.com/brandtbucher
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 12, 2020https://github.com/python/cpython/pull/17298#issuecomment-726013926
@brandtbucherhttps://github.com/brandtbucher
@vstinnerhttps://github.com/vstinner
https://docs.python.org/dev/c-api/module.html#c.PyModule_AddObjectRefhttps://docs.python.org/dev/c-api/module.html#c.PyModule_AddObjectRef
https://bugs.python.org/issue42294https://bugs.python.org/issue42294
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 12, 2020https://github.com/python/cpython/pull/17298#event-3988148434
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
July 21, 2022 20:01https://github.com/python/cpython/pull/17298#event-7041105291
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Apr 10, 2022 https://github.com/python/cpython/pull/17298#ref-issue-1199024126
Improve stdlib module initialization error handling. #83004 https://github.com/python/cpython/issues/83004
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%2F17298
https://github.com/rhettinger
rhettinger https://github.com/rhettinger
https://github.com/vstinner
vstinner https://github.com/vstinner
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Please reload this pagehttps://github.com/python/cpython/pull/17298
https://github.com/brandtbucher
https://github.com/ncoghlan
https://github.com/bedevere-bot
https://github.com/shihai1991
https://github.com/vstinner
https://github.com/the-knights-who-say-ni
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.