René's URL Explorer Experiment


Title: gh-73536: Add support for multi-signatures by serhiy-storchaka · Pull Request #117671 · python/cpython · GitHub

Open Graph Title: gh-73536: Add support for multi-signatures by serhiy-storchaka · Pull Request #117671 · python/cpython

X Title: gh-73536: Add support for multi-signatures by serhiy-storchaka · Pull Request #117671 · python/cpython

Description: Add inspect.MultiSignature which is a subclass of inspect.Signature. Add inspect.signatures(). inspect.signature() can now return a multi-signature. Support multi-signatures in pydoc. Support multi-signatures in IDLE calltips. Support multi-signatures in dataclasses docstrings. Allow multiple @text_signature in Argument Clinic. Add representable signatures for all builtin functions and methods of builtin classes except type() and super(). Issue: gh-73536

Open Graph Description: Add inspect.MultiSignature which is a subclass of inspect.Signature. Add inspect.signatures(). inspect.signature() can now return a multi-signature. Support multi-signatures in pydoc. Support multi...

X Description: Add inspect.MultiSignature which is a subclass of inspect.Signature. Add inspect.signatures(). inspect.signature() can now return a multi-signature. Support multi-signatures in pydoc. Support multi...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:22d54a6f-8747-bdb4-d28a-73d63f1e6c61
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD466:1EE55B:1A82902:241DAC7:6B0006EF
html-safe-noncec30089e859706464078096912b29a9767d33bce500889e77bd1749592f12105a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDY2OjFFRTU1QjoxQTgyOTAyOjI0MURBQzc6NkIwMDA2RUYiLCJ2aXNpdG9yX2lkIjoiNDQ0NjMyMDY5OTc2NTY4ODA0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac070a9e3fd0e935d324ad55eafd1dc2f8d4d2505e9a579dc3a3657af40ed9f3f9
hovercard-subject-tagpull_request:1813798162
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/117671/files
twitter:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
og:image:altAdd inspect.MultiSignature which is a subclass of inspect.Signature. Add inspect.signatures(). inspect.signature() can now return a multi-signature. Support multi-signatures in pydoc. Support multi...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/117671/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F117671%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F117671%2Ffiles
Sign uphttps://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%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/117671/files
Reloadhttps://github.com/python/cpython/pull/117671/files
Reloadhttps://github.com/python/cpython/pull/117671/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:wip-inspect-multi-signaturehttps://github.com/serhiy-storchaka/cpython/tree/wip-inspect-multi-signature
Conversation 19 https://github.com/python/cpython/pull/117671
Commits 16 https://github.com/python/cpython/pull/117671/commits
Checks 0 https://github.com/python/cpython/pull/117671/checks
Files changed https://github.com/python/cpython/pull/117671/files
Please reload this pagehttps://github.com/python/cpython/pull/117671/files
gh-73536: Add support for multi-signatures https://github.com/python/cpython/pull/117671/files#top
Show all changes 16 commits https://github.com/python/cpython/pull/117671/files
9247a46 gh-73536: Add support of multi-signatures serhiy-storchaka Aug 19, 2023 https://github.com/python/cpython/pull/117671/commits/9247a46ea5ab7e4bb13d051369e19d43122f20fd
54db6d3 Add tests and fix errors. serhiy-storchaka Apr 10, 2024 https://github.com/python/cpython/pull/117671/commits/54db6d3d75844fe66b9d12e21a8d165ee243494d
9bbde5f Fix signatures of hex() methods. serhiy-storchaka Apr 10, 2024 https://github.com/python/cpython/pull/117671/commits/9bbde5f372ecdd347fcfa3178d1ff4f01e948177
5c9ddb9 Refactor support of partial and partialmethod. serhiy-storchaka Apr 11, 2024 https://github.com/python/cpython/pull/117671/commits/5c9ddb946e34e0dfd764c2f1129884a837cb06f7
5e7ca6d Update Lib/inspect.py serhiy-storchaka Apr 11, 2024 https://github.com/python/cpython/pull/117671/commits/5e7ca6d741dd0e4afb354298eb3f5c4743965f95
53bc04e Remove old commented out code. serhiy-storchaka Apr 11, 2024 https://github.com/python/cpython/pull/117671/commits/53bc04eabcadaa1497f6fd98faa693550b48e59c
1a3536f Add $module for builtin functions. serhiy-storchaka Apr 11, 2024 https://github.com/python/cpython/pull/117671/commits/1a3536fddc30e9dbacd8b8e7afe99036be61ecf1
6ff7151 Tests signatures of methods. Fix more signatures in builtins, types a… serhiy-storchaka Apr 11, 2024 https://github.com/python/cpython/pull/117671/commits/6ff7151cb7fb8e6a67207b00f4879d10b99e1950
2ad265a Merge branch 'main' into wip-inspect-multi-signature serhiy-storchaka Apr 11, 2024 https://github.com/python/cpython/pull/117671/commits/2ad265ae4ab31dc78c872aa4cc60f0d047c05f2e
57f3abf Merge branch 'main' into wip-inspect-multi-signature serhiy-storchaka Apr 12, 2024 https://github.com/python/cpython/pull/117671/commits/57f3abf904943378eb32396583dc6c3fa2fe0b8d
2227748 Merge branch 'main' into wip-inspect-multi-signature serhiy-storchaka Jun 7, 2024 https://github.com/python/cpython/pull/117671/commits/2227748b514fd10b47ecb3e4d4546410e5651e72
5df505a Merge branch 'main' into wip-inspect-multi-signature serhiy-storchaka Apr 8, 2025 https://github.com/python/cpython/pull/117671/commits/5df505adc578b123ea8e4cf49c932eacdf0e93d0
087fd94 Merge branch 'main' into wip-inspect-multi-signature serhiy-storchaka Apr 9, 2025 https://github.com/python/cpython/pull/117671/commits/087fd94db620196de4cb4782c7f04dad7b17dacb
452bb6f Add more tests. serhiy-storchaka Apr 9, 2025 https://github.com/python/cpython/pull/117671/commits/452bb6f86526f2f3e705dd06c693a4765aaec1a7
5a70fb0 Merge branch 'main' into wip-inspect-multi-signature serhiy-storchaka Aug 10, 2025 https://github.com/python/cpython/pull/117671/commits/5a70fb068ccea60b811c2fe9ad7183be82c39963
5678904 Add signatures for FrameLocalsProxyType methods. serhiy-storchaka Aug 10, 2025 https://github.com/python/cpython/pull/117671/commits/5678904433e36eea6de67a03ce14db1161d02c82
Clear filters https://github.com/python/cpython/pull/117671/files
Please reload this pagehttps://github.com/python/cpython/pull/117671/files
Please reload this pagehttps://github.com/python/cpython/pull/117671/files
dataclasses.py https://github.com/python/cpython/pull/117671/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
calltip.py https://github.com/python/cpython/pull/117671/files#diff-2bf133d25fc5621f5358b3b82dabf1b0751ef19425ee7ead18f13bcf5ee4f388
test_calltip.py https://github.com/python/cpython/pull/117671/files#diff-a3c2c1a2d81e77647f962be61841f85a8936b6a76c59e131a0b344054a838b99
inspect.py https://github.com/python/cpython/pull/117671/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea
pydoc.py https://github.com/python/cpython/pull/117671/files#diff-d2599cb4ccbf37634c5d3089a2750fc6c92c6c98d2a65861ff13d08ed3e9cff5
test_bytes.py https://github.com/python/cpython/pull/117671/files#diff-58df2535f64e3dcfb0677a7f543924d976fd982b595f8e34902a73f3deae40eb
__init__.py https://github.com/python/cpython/pull/117671/files#diff-212e368b34eb9b134f87e765787d6d26b747235a358e13da8922f83861c0d676
test_functools.py https://github.com/python/cpython/pull/117671/files#diff-d6d3bf2c98d5abf2efefac777e6edc9e571f4af579e71c1ce4d500c2045aa546
test_inspect.py https://github.com/python/cpython/pull/117671/files#diff-92d8ecc68ed9e7ce3b31a764d5b0368db1514365c2a6433bbe3bad5c3210cea0
test_pydoc.py https://github.com/python/cpython/pull/117671/files#diff-008fe90a0b4f2f8315794d10ef1a66319fce6fc8ce787963c0a910eed157107d
docstring.c https://github.com/python/cpython/pull/117671/files#diff-e2c3717bad259ec231b9eaa503589851bf539d0abd2bda76fae10a2840e5cfb3
bytearrayobject.c https://github.com/python/cpython/pull/117671/files#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c
bytesobject.c https://github.com/python/cpython/pull/117671/files#diff-f6d440aad34e1c4535c0d898c0197a95490766c745991caace6f64b5dd1ece51
cellobject.c https://github.com/python/cpython/pull/117671/files#diff-f0df9ad069bc7da8c57b832bb39c9f5256abbfa7e558d64dbd70fececbfcf340
bytearrayobject.c.h https://github.com/python/cpython/pull/117671/files#diff-417ee8f8f22f1ed13b0f72c055bc0db4c52a1beff3ae9760c017756841bbc5e4
bytesobject.c.h https://github.com/python/cpython/pull/117671/files#diff-fd3db5173ffcf5e41932e6465356db6f5a4b5c4ac6d7684b0cc1204e130de0db
dictobject.c.h https://github.com/python/cpython/pull/117671/files#diff-8693360d82b9bfeb96501d3f767e3e902d91ac5b1bacc306ae905d19702d2970
longobject.c.h https://github.com/python/cpython/pull/117671/files#diff-b4a585c360d3d585918431469fae0431e4cd4974b13531bb9e7d1b173e77d8fc
memoryobject.c.h https://github.com/python/cpython/pull/117671/files#diff-15662bab1fa68645da4a33f34431e6276fb1177525d97c8e4790a9acbb783afc
unicodeobject.c.h https://github.com/python/cpython/pull/117671/files#diff-33444e76a2b53b3e21102b75bc3dfdf4a2e8992fbad571e945098cb5a3007a93
dictobject.c https://github.com/python/cpython/pull/117671/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae
frameobject.c https://github.com/python/cpython/pull/117671/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd
genobject.c https://github.com/python/cpython/pull/117671/files#diff-2a0c449b68605ebd0872fd232e60ce7e838a77782a6d2e364764f99514fb508a
iterobject.c https://github.com/python/cpython/pull/117671/files#diff-e0923aa0ec18bd667c33e79ede96b408e9bca3e9e0af262028722d7f23928723
longobject.c https://github.com/python/cpython/pull/117671/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a
memoryobject.c https://github.com/python/cpython/pull/117671/files#diff-7d1cb11da20dc3738b65b0f7381bf02df53132562a9749ba8a22d67a0f05f106
rangeobject.c https://github.com/python/cpython/pull/117671/files#diff-57cf7b657aa9de8cff0fe5dd08e43061fd5dae05dfd8446f99831fd1f7e0230d
sliceobject.c https://github.com/python/cpython/pull/117671/files#diff-5cceaa60ecfa8dcd05c59b973244915a7b9869ecd8c84e6636df56ddddb87c0f
unicodeobject.c https://github.com/python/cpython/pull/117671/files#diff-34c966e7876d6f8bf801dd51896327e4f68bba02cddb95fbf3963f0b2e39c38a
bltinmodule.c https://github.com/python/cpython/pull/117671/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
bltinmodule.c.h https://github.com/python/cpython/pull/117671/files#diff-a4b4bbe4bcd5f70f9cbf9fb324779deb3c774ab38683ebc3cad83f03920070c5
sysmodule.c https://github.com/python/cpython/pull/117671/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
dsl_parser.py https://github.com/python/cpython/pull/117671/files#diff-e0d0117367dcc56c256353c24ac169da0059615020b99cecd762d3cbc32e14f0
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L422
Lib/dataclasses.pyhttps://github.com/python/cpython/pull/117671/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
View file https://github.com/python/cpython/blob/5678904433e36eea6de67a03ce14db1161d02c82/Lib/dataclasses.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/117671/{{ revealButtonHref }}
https://github.com/python/cpython/pull/117671/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/python/cpython/pull/117671/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L508
Lib/idlelib/calltip.pyhttps://github.com/python/cpython/pull/117671/files#diff-2bf133d25fc5621f5358b3b82dabf1b0751ef19425ee7ead18f13bcf5ee4f388
View file https://github.com/python/cpython/blob/5678904433e36eea6de67a03ce14db1161d02c82/Lib/idlelib/calltip.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/117671/{{ revealButtonHref }}
https://github.com/python/cpython/pull/117671/files#diff-2bf133d25fc5621f5358b3b82dabf1b0751ef19425ee7ead18f13bcf5ee4f388
https://github.com/python/cpython/pull/117671/files#diff-2bf133d25fc5621f5358b3b82dabf1b0751ef19425ee7ead18f13bcf5ee4f388
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L508
Lib/idlelib/idle_test/test_calltip.pyhttps://github.com/python/cpython/pull/117671/files#diff-a3c2c1a2d81e77647f962be61841f85a8936b6a76c59e131a0b344054a838b99
View file https://github.com/python/cpython/blob/5678904433e36eea6de67a03ce14db1161d02c82/Lib/idlelib/idle_test/test_calltip.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/117671/{{ revealButtonHref }}
https://github.com/python/cpython/pull/117671/files#diff-a3c2c1a2d81e77647f962be61841f85a8936b6a76c59e131a0b344054a838b99
https://github.com/python/cpython/pull/117671/files#diff-a3c2c1a2d81e77647f962be61841f85a8936b6a76c59e131a0b344054a838b99
https://github.com/python/cpython/pull/117671/files#diff-a3c2c1a2d81e77647f962be61841f85a8936b6a76c59e131a0b344054a838b99
https://github.com/python/cpython/pull/117671/files#diff-a3c2c1a2d81e77647f962be61841f85a8936b6a76c59e131a0b344054a838b99
Please reload this pagehttps://github.com/python/cpython/pull/117671/files
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.