René's URL Explorer Experiment


Title: gh-103406: Modernize pos-only arguments usage in `test_signature` by sobolevn · Pull Request #103407 · python/cpython · GitHub

Open Graph Title: gh-103406: Modernize pos-only arguments usage in `test_signature` by sobolevn · Pull Request #103407 · python/cpython

X Title: gh-103406: Modernize pos-only arguments usage in `test_signature` by sobolevn · Pull Request #103407 · python/cpython

Description: We can be sure that these .__signature__ manipulations are safe to removed, because: Tests do pass now Places where .replace calls are required by the test logic (for example, when testing Signatu...

Open Graph Description: We can be sure that these .__signature__ manipulations are safe to removed, because: Tests do pass now Places where .replace calls are required by the test logic (for example, when testing Signatu...

X Description: We can be sure that these .__signature__ manipulations are safe to removed, because: Tests do pass now Places where .replace calls are required by the test logic (for example, when testing Signatu...

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

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:4af02e78-f0b0-263b-f2dd-122331b11a0f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA528:2AA429:5E55A7:82CCA3:696A2565
html-safe-noncea48e3d55f3df51e7f55bb0654427fe5003f9fbf34885f5e72cb39a34118a3f80
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTI4OjJBQTQyOTo1RTU1QTc6ODJDQ0EzOjY5NkEyNTY1IiwidmlzaXRvcl9pZCI6IjY2NTAwMzc2NjczNTA4NDg4NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb2ef84f0888f8bc815853b00b5c6caace2f9c550fb6b9d9e64839320aa914e4c
hovercard-subject-tagpull_request:1307231403
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/103407/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bc3e7a74b54ff15757cb5b22401154fe3745376cf2dfe7ab01087d5aa70617bb/python/cpython/pull/103407
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bc3e7a74b54ff15757cb5b22401154fe3745376cf2dfe7ab01087d5aa70617bb/python/cpython/pull/103407
og:image:altWe can be sure that these .__signature__ manipulations are safe to removed, because: Tests do pass now Places where .replace calls are required by the test logic (for example, when testing Signatu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
Nonea1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569
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
releasef472b8e6c7b3fdd5d0354972a3f4c516289bf0be
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/103407#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103407
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%2F103407
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/103407
Reloadhttps://github.com/python/cpython/pull/103407
Reloadhttps://github.com/python/cpython/pull/103407
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/103407
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/103407
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/103407#issue-comment-box
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-103406https://github.com/sobolevn/cpython/tree/issue-103406
gh-103406: Modernize pos-only arguments usage in test_signature https://github.com/python/cpython/pull/103407#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-103406https://github.com/sobolevn/cpython/tree/issue-103406
Conversation 11 https://github.com/python/cpython/pull/103407
Commits 4 https://github.com/python/cpython/pull/103407/commits
Checks 0 https://github.com/python/cpython/pull/103407/checks
Files changed https://github.com/python/cpython/pull/103407/files
Please reload this pagehttps://github.com/python/cpython/pull/103407
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Apr 10, 2023https://github.com/python/cpython/pull/103407#issue-1660452871
Please reload this pagehttps://github.com/python/cpython/pull/103407
cpython/Lib/test/test_inspect.pyhttps://github.com/python/cpython/blob/ecad802e3f9ef7063e7d7fe9f0c037561396ef8e/Lib/test/test_inspect.py#L1045-L1051
ecad802https://github.com/python/cpython/commit/ecad802e3f9ef7063e7d7fe9f0c037561396ef8e
Modernize test_inspect by adding real pos-only parameters #103406https://github.com/python/cpython/issues/103406
Please reload this pagehttps://github.com/python/cpython/pull/103407
https://github.com/sobolevn
pythongh-103406https://github.com/python/cpython/issues/103406
: Modernize pos-only arguments usage inhttps://github.com/python/cpython/pull/103407/commits/f06ee150fb0aa2b73240186a15be23da3422cfbe
test_signaturehttps://github.com/python/cpython/pull/103407/commits/f06ee150fb0aa2b73240186a15be23da3422cfbe
f06ee15https://github.com/python/cpython/pull/103407/commits/f06ee150fb0aa2b73240186a15be23da3422cfbe
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Apr 10, 2023https://github.com/python/cpython/pull/103407#event-8961991469
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 10, 2023 https://github.com/python/cpython/pull/103407#ref-issue-1660424381
Modernize test_inspect by adding real pos-only parameters #103406 https://github.com/python/cpython/issues/103406
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
Apr 10, 2023https://github.com/python/cpython/pull/103407#event-8961992292
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Apr 10, 2023https://github.com/python/cpython/pull/103407#event-8962015863
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Apr 10, 2023https://github.com/python/cpython/pull/103407#issuecomment-1501562328
Please reload this pagehttps://github.com/python/cpython/pull/103407
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Apr 11, 2023https://github.com/python/cpython/pull/103407#issuecomment-1502738667
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/cpython/pull/103407
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
April 11, 2023 06:47https://github.com/python/cpython/pull/103407#event-8969879755
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Apr 14, 2023 https://github.com/python/cpython/pull/103407#pullrequestreview-1384622007
View reviewed changes https://github.com/python/cpython/pull/103407/files/f06ee150fb0aa2b73240186a15be23da3422cfbe
Lib/test/test_inspect.pyhttps://github.com/python/cpython/pull/103407/files/f06ee150fb0aa2b73240186a15be23da3422cfbe#diff-cd0b5ed704ccdad2d507d4f756ac2a9b391e0c9bbb5554baf851dbebd8b5e618
Please reload this pagehttps://github.com/python/cpython/pull/103407
Lib/test/test_inspect.pyhttps://github.com/python/cpython/pull/103407/files/f06ee150fb0aa2b73240186a15be23da3422cfbe#diff-cd0b5ed704ccdad2d507d4f756ac2a9b391e0c9bbb5554baf851dbebd8b5e618
Please reload this pagehttps://github.com/python/cpython/pull/103407
https://github.com/sobolevn
Address reviewhttps://github.com/python/cpython/pull/103407/commits/8b0efa265c129be400263fd68ebc13115f3f0fa6
8b0efa2https://github.com/python/cpython/pull/103407/commits/8b0efa265c129be400263fd68ebc13115f3f0fa6
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Apr 14, 2023https://github.com/python/cpython/pull/103407#issuecomment-1507992883
Please reload this pagehttps://github.com/python/cpython/pull/103407
sobolevnhttps://github.com/sobolevn
April 14, 2023 09:27https://github.com/python/cpython/pull/103407#commits-pushed-fb20e9e
https://github.com/sobolevn
Merge branch 'main' into issue-103406https://github.com/python/cpython/pull/103407/commits/fb20e9e4c64111d7929424132d5f99bce807a0ae
fb20e9ehttps://github.com/python/cpython/pull/103407/commits/fb20e9e4c64111d7929424132d5f99bce807a0ae
https://github.com/sobolevn
Add new testhttps://github.com/python/cpython/pull/103407/commits/388c912d24d691441dd2c80f589efe03833c4ce5
388c912https://github.com/python/cpython/pull/103407/commits/388c912d24d691441dd2c80f589efe03833c4ce5
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Apr 14, 2023 https://github.com/python/cpython/pull/103407#pullrequestreview-1384717553
View reviewed changes https://github.com/python/cpython/pull/103407/files/388c912d24d691441dd2c80f589efe03833c4ce5
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
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
Apr 14, 2023https://github.com/python/cpython/pull/103407#event-9004095569
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
7569781https://github.com/python/cpython/commit/756978117698eeac3af270db25d22599e681bcb3
Apr 14, 2023https://github.com/python/cpython/pull/103407#event-9004300044
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Apr 14, 2023https://github.com/python/cpython/pull/103407#event-9004301010
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Apr 14, 2023https://github.com/python/cpython/pull/103407#issuecomment-1508029654
@sobolevnhttps://github.com/sobolevn
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/cpython/pull/103407
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 14, 2023https://github.com/python/cpython/pull/103407#issuecomment-1508030031
GH-103536https://github.com/python/cpython/pull/103536
3.11 branchhttps://github.com/python/cpython/tree/3.11
Please reload this pagehttps://github.com/python/cpython/pull/103407
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Apr 14, 2023https://github.com/python/cpython/pull/103407#event-9004307441
miss-islingtonhttps://github.com/miss-islington
Apr 14, 2023 https://github.com/python/cpython/pull/103407#ref-commit-4114451
https://github.com/sobolevn
https://github.com/miss-islington
pythongh-103406https://github.com/python/cpython/issues/103406
: Modernize pos-only arguments usage in `test_signatur…https://github.com/miss-islington/cpython/commit/41144511fec0fb2a2d1772d761cf0765d0b6492b
4114451https://github.com/miss-islington/cpython/commit/41144511fec0fb2a2d1772d761cf0765d0b6492b
pythonGH-103407https://github.com/python/cpython/pull/103407
7569781https://github.com/miss-islington/cpython/commit/756978117698eeac3af270db25d22599e681bcb3
miss-islingtonhttps://github.com/miss-islington
Apr 14, 2023 https://github.com/python/cpython/pull/103407#ref-commit-2e0ead5
https://github.com/miss-islington
https://github.com/sobolevn
gh-103406https://github.com/python/cpython/issues/103406
: Modernize pos-only arguments usage inhttps://github.com/python/cpython/commit/2e0ead5f22bb7699d70f1dfb6d1eadff124f2688
test_signaturehttps://github.com/python/cpython/commit/2e0ead5f22bb7699d70f1dfb6d1eadff124f2688
(https://github.com/python/cpython/commit/2e0ead5f22bb7699d70f1dfb6d1eadff124f2688
GH…https://github.com/python/cpython/pull/103407
2e0ead5https://github.com/python/cpython/commit/2e0ead5f22bb7699d70f1dfb6d1eadff124f2688
…-103407https://github.com/python/cpython/pull/103407
7569781https://github.com/python/cpython/commit/756978117698eeac3af270db25d22599e681bcb3
carljmhttps://github.com/carljm
Apr 14, 2023 https://github.com/python/cpython/pull/103407#ref-commit-64da49f
https://github.com/carljm
Merge branch 'main' into superopthttps://github.com/carljm/cpython/commit/64da49f3ee764855a9ac4084516e931f3f10798a
64da49fhttps://github.com/carljm/cpython/commit/64da49f3ee764855a9ac4084516e931f3f10798a
pythongh-103532https://github.com/python/cpython/issues/103532
pythonGH-103535https://github.com/python/cpython/pull/103535
pythongh-103180https://github.com/python/cpython/issues/103180
python#103437https://github.com/python/cpython/pull/103437
python#103458https://github.com/python/cpython/pull/103458
python#103461https://github.com/python/cpython/pull/103461
python#103516https://github.com/python/cpython/pull/103516
pythongh-103406https://github.com/python/cpython/issues/103406
python#103407https://github.com/python/cpython/pull/103407
python#103530https://github.com/python/cpython/pull/103530
pythonGH-103515https://github.com/python/cpython/pull/103515
carljmhttps://github.com/carljm
Apr 14, 2023 https://github.com/python/cpython/pull/103407#ref-commit-b73cff0
https://github.com/carljm
Merge branch 'superopt' into superopt_spechttps://github.com/carljm/cpython/commit/b73cff0d52b61ce123f3fafa88dc08b1965888ed
b73cff0https://github.com/carljm/cpython/commit/b73cff0d52b61ce123f3fafa88dc08b1965888ed
pythongh-103532https://github.com/python/cpython/issues/103532
pythonGH-103535https://github.com/python/cpython/pull/103535
pythongh-103180https://github.com/python/cpython/issues/103180
python#103437https://github.com/python/cpython/pull/103437
python#103458https://github.com/python/cpython/pull/103458
python#103461https://github.com/python/cpython/pull/103461
python#103516https://github.com/python/cpython/pull/103516
pythongh-103406https://github.com/python/cpython/issues/103406
python#103407https://github.com/python/cpython/pull/103407
python#103530https://github.com/python/cpython/pull/103530
pythonGH-103515https://github.com/python/cpython/pull/103515
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%2F103407
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/103407/files/388c912d24d691441dd2c80f589efe03833c4ce5
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/103407
https://github.com/sobolevn
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/JelleZijlstra
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.