René's URL Explorer Experiment


Title: Don't require `_testcapi` for `test_code` by ShaharNaveh · Pull Request #152185 · python/cpython · GitHub

Open Graph Title: Don't require `_testcapi` for `test_code` by ShaharNaveh · Pull Request #152185 · python/cpython

X Title: Don't require `_testcapi` for `test_code` by ShaharNaveh · Pull Request #152185 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: cc: @StanFromIreland

X Description: cc: @StanFromIreland

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

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:cc444a9e-81bd-f780-eb1d-b89e31b848cf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAC18:34F6B9:12B7F91:194E50D:6A521A14
html-safe-nonce56adf9113e22dd3945ec2ce86edd7972f25cb0a1bca0c850ec393f74e82981dd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzE4OjM0RjZCOToxMkI3RjkxOjE5NEU1MEQ6NkE1MjFBMTQiLCJ2aXNpdG9yX2lkIjoiNTQ0MDMxNzkyMTgwNDAzMjUzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca5e59e99987a6afc67f4e532c81e3962068274b1bda2cd5aabc178d18c049112
hovercard-subject-tagpull_request:3934999280
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/152185/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/069129be6d14059cb4b182ff72ac4d786819e6a2a8fa5389ab6e9c01fc313065/python/cpython/pull/152185
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/069129be6d14059cb4b182ff72ac4d786819e6a2a8fa5389ab6e9c01fc313065/python/cpython/pull/152185
og:image:altcc: @StanFromIreland
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameShaharNaveh
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/152185#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F152185
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F152185
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/152185
Reloadhttps://github.com/python/cpython/pull/152185
Reloadhttps://github.com/python/cpython/pull/152185
Please reload this pagehttps://github.com/python/cpython/pull/152185
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/152185
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
StanFromIrelandhttps://github.com/StanFromIreland
python:mainhttps://github.com/python/cpython/tree/main
ShaharNaveh:test-code-testcapihttps://github.com/ShaharNaveh/cpython/tree/test-code-testcapi
Conversationhttps://github.com/python/cpython/pull/152185
Commits3 (3)https://github.com/python/cpython/pull/152185/commits
Checkshttps://github.com/python/cpython/pull/152185/checks
Files changedhttps://github.com/python/cpython/pull/152185/files
Don't require _testcapi for test_codehttps://github.com/python/cpython/pull/152185#top
StanFromIrelandhttps://github.com/StanFromIreland
python:mainhttps://github.com/python/cpython/tree/main
ShaharNaveh:test-code-testcapihttps://github.com/ShaharNaveh/cpython/tree/test-code-testcapi
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/ShaharNaveh
Jun 25, 2026https://github.com/python/cpython/pull/152185#issue-4743599805
@StanFromIrelandhttps://github.com/StanFromIreland
Please reload this pagehttps://github.com/python/cpython/pull/152185
https://github.com/ShaharNaveh
Don't require _testcapi for test_codehttps://github.com/python/cpython/pull/152185/commits/439e8cd8e57a71a022e89df478501d31cca22a59
439e8cdhttps://github.com/python/cpython/pull/152185/commits/439e8cd8e57a71a022e89df478501d31cca22a59
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jun 25, 2026https://github.com/python/cpython/pull/152185#event-27196221982
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Jun 25, 2026 https://github.com/python/cpython/pull/152185#pullrequestreview-4570729791
View reviewed changes https://github.com/python/cpython/pull/152185/files/439e8cd8e57a71a022e89df478501d31cca22a59
StanFromIrelandhttps://github.com/StanFromIreland
https://github.com/python/cpython/pull/152185#pullrequestreview-4570729791
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/152185
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
skip issue https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jun 25, 2026https://github.com/python/cpython/pull/152185#event-27196828777
https://github.com/ShaharNaveh
Fix CRhttps://github.com/python/cpython/pull/152185/commits/c9f646b28baa608dfa3058a375bcd54b7e386782
c9f646bhttps://github.com/python/cpython/pull/152185/commits/c9f646b28baa608dfa3058a375bcd54b7e386782
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/ShaharNaveh
Jun 25, 2026 https://github.com/python/cpython/pull/152185#pullrequestreview-4570774018
View reviewed changes https://github.com/python/cpython/pull/152185/files/c9f646b28baa608dfa3058a375bcd54b7e386782
Lib/test/test_code.pyhttps://github.com/python/cpython/pull/152185/files/c9f646b28baa608dfa3058a375bcd54b7e386782#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5
ShaharNavehhttps://github.com/ShaharNaveh
Jun 25, 2026https://github.com/python/cpython/pull/152185#discussion_r3474265610
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/152185
https://github.com/StanFromIreland
Merge branch 'main' into test-code-testcapihttps://github.com/python/cpython/pull/152185/commits/ebbd24d6d9552813116090ee58197e722c8c5760
ebbd24dhttps://github.com/python/cpython/pull/152185/commits/ebbd24d6d9552813116090ee58197e722c8c5760
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Jun 25, 2026 https://github.com/python/cpython/pull/152185#pullrequestreview-4571396684
View reviewed changes https://github.com/python/cpython/pull/152185/files/ebbd24d6d9552813116090ee58197e722c8c5760
https://github.com/apps/bedevere-app
bedevere-apphttps://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
Jun 25, 2026https://github.com/python/cpython/pull/152185#event-27201815821
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
11c241ehttps://github.com/python/cpython/commit/11c241e1a8a71b5f25a304b1f428467b746f5d43
Jun 25, 2026https://github.com/python/cpython/pull/152185#event-27201844128
Please reload this pagehttps://github.com/python/cpython/pull/152185
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jun 25, 2026https://github.com/python/cpython/pull/152185#event-27201846820
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Jun 25, 2026https://github.com/python/cpython/pull/152185#event-27201856924
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 25, 2026https://github.com/python/cpython/pull/152185#issuecomment-4799877012
@ShaharNavehhttps://github.com/ShaharNaveh
@StanFromIrelandhttps://github.com/StanFromIreland
Please reload this pagehttps://github.com/python/cpython/pull/152185
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 25, 2026https://github.com/python/cpython/pull/152185#issuecomment-4799877044
@ShaharNavehhttps://github.com/ShaharNaveh
@StanFromIrelandhttps://github.com/StanFromIreland
Please reload this pagehttps://github.com/python/cpython/pull/152185
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 25, 2026https://github.com/python/cpython/pull/152185#issuecomment-4799877064
@ShaharNavehhttps://github.com/ShaharNaveh
@StanFromIrelandhttps://github.com/StanFromIreland
Please reload this pagehttps://github.com/python/cpython/pull/152185
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 25, 2026https://github.com/python/cpython/pull/152185#issuecomment-4799879315
GH-152201https://github.com/python/cpython/pull/152201
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/152185
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Jun 25, 2026https://github.com/python/cpython/pull/152185#event-27201893326
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 25, 2026https://github.com/python/cpython/pull/152185#issuecomment-4799879771
@ShaharNavehhttps://github.com/ShaharNaveh
@StanFromIrelandhttps://github.com/StanFromIreland
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/152185
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
StanFromIrelandhttps://github.com/StanFromIreland
Jun 25, 2026https://github.com/python/cpython/pull/152185#event-27201894948
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 25, 2026https://github.com/python/cpython/pull/152185#issuecomment-4799880477
GH-152202https://github.com/python/cpython/pull/152202
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/152185
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Jun 25, 2026https://github.com/python/cpython/pull/152185#event-27201897767
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Jun 25, 2026https://github.com/python/cpython/pull/152185#event-27201938561
StanFromIrelandhttps://github.com/StanFromIreland
Jun 25, 2026 https://github.com/python/cpython/pull/152185#ref-commit-f38c16a
https://github.com/miss-islington
https://github.com/ShaharNaveh
https://github.com/StanFromIreland
[3.14] Don't requirehttps://github.com/python/cpython/commit/f38c16ade59c3a9430a46f3678cb5674390e134d
_testcapihttps://github.com/python/cpython/commit/f38c16ade59c3a9430a46f3678cb5674390e134d
forhttps://github.com/python/cpython/commit/f38c16ade59c3a9430a46f3678cb5674390e134d
test_codehttps://github.com/python/cpython/commit/f38c16ade59c3a9430a46f3678cb5674390e134d
(https://github.com/python/cpython/commit/f38c16ade59c3a9430a46f3678cb5674390e134d
GH-152185https://github.com/python/cpython/pull/152185
) (https://github.com/python/cpython/commit/f38c16ade59c3a9430a46f3678cb5674390e134d
#152201https://github.com/python/cpython/pull/152201
)https://github.com/python/cpython/commit/f38c16ade59c3a9430a46f3678cb5674390e134d
f38c16ahttps://github.com/python/cpython/commit/f38c16ade59c3a9430a46f3678cb5674390e134d
11c241ehttps://github.com/python/cpython/commit/11c241e1a8a71b5f25a304b1f428467b746f5d43
StanFromIrelandhttps://github.com/StanFromIreland
Jun 25, 2026 https://github.com/python/cpython/pull/152185#ref-commit-0222238
https://github.com/miss-islington
https://github.com/ShaharNaveh
https://github.com/StanFromIreland
[3.15] Don't requirehttps://github.com/python/cpython/commit/0222238e3a54b3f4955334e7dc28a572dcf07c20
_testcapihttps://github.com/python/cpython/commit/0222238e3a54b3f4955334e7dc28a572dcf07c20
forhttps://github.com/python/cpython/commit/0222238e3a54b3f4955334e7dc28a572dcf07c20
test_codehttps://github.com/python/cpython/commit/0222238e3a54b3f4955334e7dc28a572dcf07c20
(https://github.com/python/cpython/commit/0222238e3a54b3f4955334e7dc28a572dcf07c20
GH-152185https://github.com/python/cpython/pull/152185
) (https://github.com/python/cpython/commit/0222238e3a54b3f4955334e7dc28a572dcf07c20
#152202https://github.com/python/cpython/pull/152202
)https://github.com/python/cpython/commit/0222238e3a54b3f4955334e7dc28a572dcf07c20
0222238https://github.com/python/cpython/commit/0222238e3a54b3f4955334e7dc28a572dcf07c20
11c241ehttps://github.com/python/cpython/commit/11c241e1a8a71b5f25a304b1f428467b746f5d43
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/ShaharNaveh
Jun 26, 2026 https://github.com/python/cpython/pull/152185#ref-pullrequest-4753503855
Don't require _testcapi and _testinternalcapi for test_monitoring.py #152311 https://github.com/python/cpython/pull/152311
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F152185
https://github.com/StanFromIreland
StanFromIreland https://github.com/StanFromIreland
https://github.com/python/cpython/pull/152185/files/ebbd24d6d9552813116090ee58197e722c8c5760
https://github.com/StanFromIreland
StanFromIreland https://github.com/StanFromIreland
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
skip issue https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Please reload this pagehttps://github.com/python/cpython/pull/152185
https://github.com/ShaharNaveh
https://github.com/StanFromIreland
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.