René's URL Explorer Experiment


Title: gh-95065: Argument Clinic: Add functional tests of deprecated positionals by erlend-aasland · Pull Request #107768 · python/cpython · GitHub

Open Graph Title: gh-95065: Argument Clinic: Add functional tests of deprecated positionals by erlend-aasland · Pull Request #107768 · python/cpython

X Title: gh-95065: Argument Clinic: Add functional tests of deprecated positionals by erlend-aasland · Pull Request #107768 · python/cpython

Description: Move the "deprecated positinal" tests from clinic.test.c to _testclinic.c. Mock PY_VERSION_HEX in order to prevent the generated compiler warnings/errors to trigger. Put clinic code for deprecated positionals in Modules/clinic/_testclinic_depr_star.c.h for easy inspection of the generated code. Issue: gh-95065

Open Graph Description: Move the "deprecated positinal" tests from clinic.test.c to _testclinic.c. Mock PY_VERSION_HEX in order to prevent the generated compiler warnings/errors to trigger. Put clinic code for d...

X Description: Move the "deprecated positinal" tests from clinic.test.c to _testclinic.c. Mock PY_VERSION_HEX in order to prevent the generated compiler warnings/errors to trigger. Put clinic co...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:7c10c622-16ac-35b9-3c8f-f5a9dc26f0ac
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E54:62C95:E6147:131430:6994EA76
html-safe-nonceb7f562a2f18d653a34d95daac8648060ebf4e888da97b9d7a85e4d632233d8c9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTU0OjYyQzk1OkU2MTQ3OjEzMTQzMDo2OTk0RUE3NiIsInZpc2l0b3JfaWQiOiI4NTc0ODgwNTA1NzY1NjIwMzQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac88d25411066bc337afb7b983b6f8d0dfadf63bf08a785a76450794d4ec365699
hovercard-subject-tagpull_request:1466555907
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
twitter:imagehttps://avatars.githubusercontent.com/u/13780613?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/13780613?s=400&v=4
og:image:altMove the "deprecated positinal" tests from clinic.test.c to _testclinic.c. Mock PY_VERSION_HEX in order to prevent the generated compiler warnings/errors to trigger. Put clinic code for d...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None45bfdcf303b8bbf65a4da4dbf4669683e0c8440359e5c27eb3c96256ec925d65
turbo-cache-controlno-preview
diff-viewunified
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
release4d1632cb2708020dc8a5f592477622aa1f0ee8c4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107768%2Fcommits%2F9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
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%2F107768%2Fcommits%2F9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
Reloadhttps://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
Reloadhttps://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.5k 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 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 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
erlend-aaslandhttps://github.com/erlend-aasland
python:mainhttps://github.com/python/cpython/tree/main
erlend-aasland:clinic/better-depr-testshttps://github.com/erlend-aasland/cpython/tree/clinic/better-depr-tests
Conversation 53 https://github.com/python/cpython/pull/107768
Commits 16 https://github.com/python/cpython/pull/107768/commits
Checks 0 https://github.com/python/cpython/pull/107768/checks
Files changed https://github.com/python/cpython/pull/107768/files
Please reload this pagehttps://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
gh-95065: Argument Clinic: Add functional tests of deprecated positionals https://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff#top
Show all changes 16 commits https://github.com/python/cpython/pull/107768/files
803f991 gh-95065: Argument Clinic: Add functional tests of deprecated positio… erlend-aasland Aug 8, 2023 https://github.com/python/cpython/pull/107768/commits/803f99141076f338d81d53775d1d7a828e65048a
a28c62e Fix tests erlend-aasland Aug 8, 2023 https://github.com/python/cpython/pull/107768/commits/a28c62ed6bb8b5e7090129e25773dada9e6f6187
61bef45 Readable tests erlend-aasland Aug 8, 2023 https://github.com/python/cpython/pull/107768/commits/61bef45a505ee4334210d94c9f20f7bef6da4a5a
daea15e Pull in main erlend-aasland Aug 8, 2023 https://github.com/python/cpython/pull/107768/commits/daea15eb23b70085dac1b85248b9bad7ce049fac
00a7562 Pull in main erlend-aasland Aug 9, 2023 https://github.com/python/cpython/pull/107768/commits/00a75623b507aaaf29aa95dcbb425e0ff1f21ef7
6559443 Address review: greatly simplify tests erlend-aasland Aug 9, 2023 https://github.com/python/cpython/pull/107768/commits/6559443c7b028fb309d800006f42cb3ce1f123ac
194420b More accurate regex; pass param names explicitly erlend-aasland Aug 9, 2023 https://github.com/python/cpython/pull/107768/commits/194420bcd15db20e961352aa43fbc988dd1457b3
6875b2f Even nicer erlend-aasland Aug 9, 2023 https://github.com/python/cpython/pull/107768/commits/6875b2fcbe24796eda7004c366578ed8fc323643
181cbf7 Merge branch 'main' into clinic/better-depr-tests erlend-aasland Aug 9, 2023 https://github.com/python/cpython/pull/107768/commits/181cbf7798ac0cb308174c05c8acbfa395baab4c
9f40557 Update Lib/test/test_clinic.py erlend-aasland Aug 9, 2023 https://github.com/python/cpython/pull/107768/commits/9f40557514935c7d94f911c686f86e928af43d08
2e3cdfc Also test __new__ and __init__ erlend-aasland Aug 9, 2023 https://github.com/python/cpython/pull/107768/commits/2e3cdfc84492def4354603c6d4ff835e4e5e0880
cdf0574 Check the line number erlend-aasland Aug 9, 2023 https://github.com/python/cpython/pull/107768/commits/cdf057442469080d48f51b01cb61e1706331a593
91c122a Pull in main erlend-aasland Aug 9, 2023 https://github.com/python/cpython/pull/107768/commits/91c122aef463580e7488370452de5c72c24f5f51
9a4128d Update globals-to-fix.tsv erlend-aasland Aug 9, 2023 https://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
e56888c Apply suggestions from code review erlend-aasland Aug 10, 2023 https://github.com/python/cpython/pull/107768/commits/e56888c400d1edc0dd64f3a4c9f4c98f94d78663
44aac33 Merge branch 'main' into clinic/better-depr-tests erlend-aasland Aug 10, 2023 https://github.com/python/cpython/pull/107768/commits/44aac330a20f8714c8d4717d727533f156e31b3e
Clear filters https://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
Please reload this pagehttps://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
Please reload this pagehttps://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
Prev https://github.com/python/cpython/pull/107768/commits/91c122aef463580e7488370452de5c72c24f5f51
Next https://github.com/python/cpython/pull/107768/commits/e56888c400d1edc0dd64f3a4c9f4c98f94d78663
Please reload this pagehttps://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/python/cpython/commits?author=erlend-aasland
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L127
Tools/c-analyzer/cpython/globals-to-fix.tsvhttps://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19
View file https://github.com/erlend-aasland/cpython/blob/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff/Tools/c-analyzer/cpython/globals-to-fix.tsv
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/107768/commits/{{ revealButtonHref }}
https://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19
https://github.com/python/cpython/pull/107768/commits/9a4128df9a5178ccf1ae9aca87d0d4df6ed95eff#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19
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.