René's URL Explorer Experiment


Title: gh-137786: fix error msg for *args, **kwargs default value by hnnynh · Pull Request #137793 · python/cpython · GitHub

Open Graph Title: gh-137786: fix error msg for *args, **kwargs default value by hnnynh · Pull Request #137793 · python/cpython

X Title: gh-137786: fix error msg for *args, **kwargs default value by hnnynh · Pull Request #137793 · python/cpython

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

Open Graph Description: Patch for the Issue: #137786 Issue: The error messages of def func(*args='Hello'): pass and def func(**kwargs='Hello'): pass should explain more clearly #137786

X Description: Patch for the Issue: #137786 Issue: The error messages of def func(*args='Hello'): pass and def func(**kwargs='Hello'): pass should explain more clearly #137786

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

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:238bc57d-0246-73b9-bc7d-ffb1c01e1eb5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA4F8:277ED1:17BAC9F:1EBA8FE:6A5C5D18
html-safe-noncea2ba9e78d91ff8934fec836cd193f7f7a19f8d341f77f4849aa97a9325cf9ad0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEY4OjI3N0VEMToxN0JBQzlGOjFFQkE4RkU6NkE1QzVEMTgiLCJ2aXNpdG9yX2lkIjoiNDg5NTYzNTUxMjI2NTMwMTI3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac45805af96853732ae5a1e920d51091a9e677b5ef7f5e869f72b8fb2923627174
hovercard-subject-tagpull_request:2747906571
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/137793/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9cef1e30431f92dd56877c21c609894893cf820febb467183ff0e9b0a8aef759/python/cpython/pull/137793
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9cef1e30431f92dd56877c21c609894893cf820febb467183ff0e9b0a8aef759/python/cpython/pull/137793
og:image:altPatch for the Issue: #137786 Issue: The error messages of def func(*args='Hello'): pass and def func(**kwargs='Hello'): pass should explain more clearly #137786
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehnnynh
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/137793#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F137793
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%2F137793
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/137793
Reloadhttps://github.com/python/cpython/pull/137793
Reloadhttps://github.com/python/cpython/pull/137793
Please reload this pagehttps://github.com/python/cpython/pull/137793
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/137793
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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.4k 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
hnnynhhttps://github.com/hnnynh
python:mainhttps://github.com/python/cpython/tree/main
hnnynh:gh-137786https://github.com/hnnynh/cpython/tree/gh-137786
Conversationhttps://github.com/python/cpython/pull/137793
Commits2 (2)https://github.com/python/cpython/pull/137793/commits
Checkshttps://github.com/python/cpython/pull/137793/checks
Files changedhttps://github.com/python/cpython/pull/137793/files
gh-137786: fix error msg for *args, **kwargs default valuehttps://github.com/python/cpython/pull/137793#top
hnnynhhttps://github.com/hnnynh
python:mainhttps://github.com/python/cpython/tree/main
hnnynh:gh-137786https://github.com/hnnynh/cpython/tree/gh-137786
https://github.com/hnnynh
hnnynhhttps://github.com/hnnynh
Aug 15, 2025https://github.com/python/cpython/pull/137793#issue-3324225703
Please reload this pagehttps://github.com/python/cpython/pull/137793
#137786https://github.com/python/cpython/issues/137786
The error messages of def func(*args='Hello'): pass and def func(**kwargs='Hello'): pass should explain more clearly #137786https://github.com/python/cpython/issues/137786
Please reload this pagehttps://github.com/python/cpython/pull/137793
fix: error msg for *args, **kwargs default valuehttps://github.com/python/cpython/pull/137793/commits/233b9a683f98fd6dc6277489b802885961d4b739
233b9a6https://github.com/python/cpython/pull/137793/commits/233b9a683f98fd6dc6277489b802885961d4b739
https://github.com/hnnynh
hnnynhhttps://github.com/hnnynh
lysnikolaouhttps://github.com/lysnikolaou
pablogsalhttps://github.com/pablogsal
code ownershttps://github.com/python/cpython/blob/8665769614183263a4370b35a4fdbe852e651e17/.github/CODEOWNERS#L193
August 15, 2025 03:37https://github.com/python/cpython/pull/137793#event-19170452182
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 15, 2025https://github.com/python/cpython/pull/137793#event-19170452564
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 15, 2025 https://github.com/python/cpython/pull/137793#ref-issue-3323751159
The error messages of def func(*args='Hello'): pass and def func(**kwargs='Hello'): pass should explain more clearly #137786 https://github.com/python/cpython/issues/137786
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 15, 2025 https://github.com/python/cpython/pull/137793#pullrequestreview-3122737989
View reviewed changes https://github.com/python/cpython/pull/137793/files/233b9a683f98fd6dc6277489b802885961d4b739
Lib/test/test_syntax.pyhttps://github.com/python/cpython/pull/137793/files/233b9a683f98fd6dc6277489b802885961d4b739#diff-985c9f5237c42a342864f5cbdb35dc56bc0017f44d5dfa561ecbef72e4a7ad4f
AA-Turnerhttps://github.com/AA-Turner
Aug 15, 2025https://github.com/python/cpython/pull/137793#discussion_r2278162246
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 15, 2025 https://github.com/python/cpython/pull/137793#pullrequestreview-3122739396
View reviewed changes https://github.com/python/cpython/pull/137793/files/233b9a683f98fd6dc6277489b802885961d4b739
Lib/test/test_syntax.pyhttps://github.com/python/cpython/pull/137793/files/233b9a683f98fd6dc6277489b802885961d4b739#diff-985c9f5237c42a342864f5cbdb35dc56bc0017f44d5dfa561ecbef72e4a7ad4f
AA-Turnerhttps://github.com/AA-Turner
Aug 15, 2025https://github.com/python/cpython/pull/137793#discussion_r2278163459
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 15, 2025 https://github.com/python/cpython/pull/137793#pullrequestreview-3122740298
View reviewed changes https://github.com/python/cpython/pull/137793/files/233b9a683f98fd6dc6277489b802885961d4b739
AA-Turnerhttps://github.com/AA-Turner
https://github.com/python/cpython/pull/137793#pullrequestreview-3122740298
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 15, 2025https://github.com/python/cpython/pull/137793#event-19170502068
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 15, 2025https://github.com/python/cpython/pull/137793#issuecomment-3190521386
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Aug 15, 2025https://github.com/python/cpython/pull/137793#event-19170502121
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Aug 15, 2025https://github.com/python/cpython/pull/137793#issuecomment-3190584890
@AA-Turnerhttps://github.com/AA-Turner
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/corona10
corona10https://github.com/corona10
Aug 15, 2025 https://github.com/python/cpython/pull/137793#pullrequestreview-3122851434
View reviewed changes https://github.com/python/cpython/pull/137793/files/233b9a683f98fd6dc6277489b802885961d4b739
Lib/test/test_syntax.pyhttps://github.com/python/cpython/pull/137793/files/233b9a683f98fd6dc6277489b802885961d4b739#diff-985c9f5237c42a342864f5cbdb35dc56bc0017f44d5dfa561ecbef72e4a7ad4f
corona10https://github.com/corona10
Aug 15, 2025https://github.com/python/cpython/pull/137793#discussion_r2278236040
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@AA-Turnerhttps://github.com/AA-Turner
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/hnnynh
hnnynhhttps://github.com/hnnynh
force-pushedhttps://github.com/python/cpython/compare/904941ab0cd50975c681cba4e66075677b14fe60..fd98fb66e5f4c8912e7e5ff3e9f06c269e744f97
904941ahttps://github.com/python/cpython/commit/904941ab0cd50975c681cba4e66075677b14fe60
fd98fb6https://github.com/python/cpython/commit/fd98fb66e5f4c8912e7e5ff3e9f06c269e744f97
Compare https://github.com/python/cpython/compare/904941ab0cd50975c681cba4e66075677b14fe60..fd98fb66e5f4c8912e7e5ff3e9f06c269e744f97
August 15, 2025 06:23https://github.com/python/cpython/pull/137793#event-19171814572
https://github.com/hnnynh
hnnynhhttps://github.com/hnnynh
Aug 15, 2025https://github.com/python/cpython/pull/137793#issuecomment-3190759046
Please reload this pagehttps://github.com/python/cpython/pull/137793
the original error messages are correcthttps://github.com/python/cpython/issues/137786#issuecomment-3190511945
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/hnnynh
hnnynhhttps://github.com/hnnynh
force-pushedhttps://github.com/python/cpython/compare/fd98fb66e5f4c8912e7e5ff3e9f06c269e744f97..5401ee07ca0f7546ea028bc13227b5f713cd58eb
fd98fb6https://github.com/python/cpython/commit/fd98fb66e5f4c8912e7e5ff3e9f06c269e744f97
5401ee0https://github.com/python/cpython/commit/5401ee07ca0f7546ea028bc13227b5f713cd58eb
Compare https://github.com/python/cpython/compare/fd98fb66e5f4c8912e7e5ff3e9f06c269e744f97..5401ee07ca0f7546ea028bc13227b5f713cd58eb
August 15, 2025 06:51https://github.com/python/cpython/pull/137793#event-19172074296
https://github.com/corona10
corona10https://github.com/corona10
sprint https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Asprint
Aug 15, 2025https://github.com/python/cpython/pull/137793#event-19172095276
fix: add explanation without modifying the original messagehttps://github.com/python/cpython/pull/137793/commits/98cbe835da54e301889ce3132a647af6363793b0
98cbe83https://github.com/python/cpython/pull/137793/commits/98cbe835da54e301889ce3132a647af6363793b0
https://github.com/hnnynh
hnnynhhttps://github.com/hnnynh
force-pushedhttps://github.com/python/cpython/compare/5401ee07ca0f7546ea028bc13227b5f713cd58eb..98cbe835da54e301889ce3132a647af6363793b0
5401ee0https://github.com/python/cpython/commit/5401ee07ca0f7546ea028bc13227b5f713cd58eb
98cbe83https://github.com/python/cpython/commit/98cbe835da54e301889ce3132a647af6363793b0
Compare https://github.com/python/cpython/compare/5401ee07ca0f7546ea028bc13227b5f713cd58eb..98cbe835da54e301889ce3132a647af6363793b0
August 15, 2025 06:56https://github.com/python/cpython/pull/137793#event-19172120522
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Aug 15, 2025https://github.com/python/cpython/pull/137793#issuecomment-3190822401
@hnnynhhttps://github.com/hnnynh
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/hnnynh
hnnynhhttps://github.com/hnnynh
Aug 15, 2025https://github.com/python/cpython/pull/137793#issuecomment-3190839138
@hnnynhhttps://github.com/hnnynh
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Aug 15, 2025https://github.com/python/cpython/pull/137793#issuecomment-3190853226
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/hnnynh
hnnynhhttps://github.com/hnnynh
Aug 15, 2025https://github.com/python/cpython/pull/137793#issuecomment-3190862417
Please reload this pagehttps://github.com/python/cpython/pull/137793
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/hnnynh
hnnynhhttps://github.com/hnnynh
Aug 15, 2025https://github.com/python/cpython/pull/137793#event-19172530181
https://github.com/corona10
corona10https://github.com/corona10
Aug 15, 2025https://github.com/python/cpython/pull/137793#issuecomment-3190862817
#137786 (comment)https://github.com/python/cpython/issues/137786#issuecomment-3190742691
@hnnynhhttps://github.com/hnnynh
Please reload this pagehttps://github.com/python/cpython/pull/137793
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%2F137793
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/python/cpython/pull/137793/files/233b9a683f98fd6dc6277489b802885961d4b739
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/python/cpython/pull/137793/files/233b9a683f98fd6dc6277489b802885961d4b739
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
sprint https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Asprint
Please reload this pagehttps://github.com/python/cpython/pull/137793
https://github.com/hnnynh
https://github.com/skirpichev
https://github.com/corona10
https://github.com/AA-Turner
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.