René's URL Explorer Experiment


Title: stubgen: Preserve simple defaults in function signatures by hamdanal · Pull Request #15355 · python/mypy · GitHub

Open Graph Title: stubgen: Preserve simple defaults in function signatures by hamdanal · Pull Request #15355 · python/mypy

X Title: stubgen: Preserve simple defaults in function signatures by hamdanal · Pull Request #15355 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: Fixes #13238 See also python/typeshed#8988 cc @AlexWaygood @JelleZijlstra

X Description: Fixes #13238 See also python/typeshed#8988 cc @AlexWaygood @JelleZijlstra

Opengraph URL: https://github.com/python/mypy/pull/15355

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/_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:51e1f0bf-533c-0a67-8875-ccfa65841338
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAD1A:197995:A8C96E:E2273B:6AFFA1E5
html-safe-nonce80857fca1e1f5fa0e1dfd2f6c2faeed211c845dd0e5875e08da71e69fc0a4ea0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDFBOjE5Nzk5NTpBOEM5NkU6RTIyNzNCOjZBRkZBMUU1IiwidmlzaXRvcl9pZCI6IjEzMjIzMTQ1MTgzNDAwMTg2NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfa20225df0214904b01206535b695fc2e97d38a051f85c0eb3660e928333a9c3
hovercard-subject-tagpull_request:1376218821
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/mypy/15355/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6182a14e5b1ae78f4f5513e5a38a1a9e9d720127de360322ee4e1664c555bedd/python/mypy/pull/15355
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6182a14e5b1ae78f4f5513e5a38a1a9e9d720127de360322ee4e1664c555bedd/python/mypy/pull/15355
og:image:altFixes #13238 See also python/typeshed#8988 cc @AlexWaygood @JelleZijlstra
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehamdanal
hostnamegithub.com
expected-hostnamegithub.com
Noneba28afc7a27af7a823370a957c9e2c39d10289886a55f1d91350f367020c25ca
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
release72f549919f17231189a8ff5726b8003c72c7eb99
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/15355#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F15355
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%2Fmypy%2Fpull%2F15355
Sign uphttps://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%2Fmypy
Reloadhttps://github.com/python/mypy/pull/15355
Reloadhttps://github.com/python/mypy/pull/15355
Reloadhttps://github.com/python/mypy/pull/15355
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests547 (547)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/mypy/tree/master
hamdanal:stubgen-defaultshttps://github.com/hamdanal/mypy/tree/stubgen-defaults
Conversationhttps://github.com/python/mypy/pull/15355
Commits9 (9)https://github.com/python/mypy/pull/15355/commits
Checkshttps://github.com/python/mypy/pull/15355/checks
Files changedhttps://github.com/python/mypy/pull/15355/files
stubgen: Preserve simple defaults in function signatureshttps://github.com/python/mypy/pull/15355#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/mypy/tree/master
hamdanal:stubgen-defaultshttps://github.com/hamdanal/mypy/tree/stubgen-defaults
https://github.com/hamdanal
hamdanalhttps://github.com/hamdanal
Jun 2, 2023https://github.com/python/mypy/pull/15355#issue-1738691541
#13238https://github.com/python/mypy/issues/13238
python/typeshed#8988https://github.com/python/typeshed/issues/8988
@AlexWaygoodhttps://github.com/AlexWaygood
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/mypy/pull/15355
https://github.com/hamdanal
stubgen: Preserve simple defaults in function signatureshttps://github.com/python/mypy/pull/15355/commits/4692138eb83e73e5bcc68ba773ad4309bc363689
4692138https://github.com/python/mypy/pull/15355/commits/4692138eb83e73e5bcc68ba773ad4309bc363689
python#13238https://github.com/python/mypy/issues/13238
python/typeshed#8988https://github.com/python/typeshed/issues/8988
https://github.com/hamdanal
hamdanalhttps://github.com/hamdanal
Jun 2, 2023https://github.com/python/mypy/pull/15355#issuecomment-1574210466
Please reload this pagehttps://github.com/python/mypy/pull/15355
Please reload this pagehttps://github.com/python/mypy/pull/15355
https://github.com/hamdanal
Also add defaults to simple builtin containershttps://github.com/python/mypy/pull/15355/commits/8401f8efb10779f1c04a20213869fac62a7b4736
8401f8ehttps://github.com/python/mypy/pull/15355/commits/8401f8efb10779f1c04a20213869fac62a7b4736
https://github.com/hamdanal
hamdanalhttps://github.com/hamdanal
June 7, 2023 14:09https://github.com/python/mypy/pull/15355#event-9459814794
https://github.com/hamdanal
Fix self checkhttps://github.com/python/mypy/pull/15355/commits/c55605fa5a585c03e237b87ef977e748c32d8c75
c55605fhttps://github.com/python/mypy/pull/15355/commits/c55605fa5a585c03e237b87ef977e748c32d8c75
https://github.com/hamdanal
hamdanalhttps://github.com/hamdanal
Jun 7, 2023https://github.com/python/mypy/pull/15355#issuecomment-1580947943
Please reload this pagehttps://github.com/python/mypy/pull/15355
https://github.com/hamdanal
Improve handling of {**something} casehttps://github.com/python/mypy/pull/15355/commits/86242985448a84fe83876368c733088458741892
8624298https://github.com/python/mypy/pull/15355/commits/86242985448a84fe83876368c733088458741892
https://github.com/coditamar
coditamarhttps://github.com/coditamar
Jul 7, 2023https://github.com/python/mypy/pull/15355#issuecomment-1624978551
Please reload this pagehttps://github.com/python/mypy/pull/15355
https://github.com/QodoAI-Agent
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F15355
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 7, 2023https://github.com/python/mypy/pull/15355#issuecomment-1625007157
@coditamarhttps://github.com/coditamar
Please reload this pagehttps://github.com/python/mypy/pull/15355
https://github.com/coditamar
coditamarhttps://github.com/coditamar
Jul 7, 2023https://github.com/python/mypy/pull/15355#issuecomment-1625030171
Please reload this pagehttps://github.com/python/mypy/pull/15355
@coditamarhttps://github.com/coditamar
Please reload this pagehttps://github.com/python/mypy/pull/15355
https://github.com/hamdanal
hamdanalhttps://github.com/hamdanal
Jul 14, 2023 https://github.com/python/mypy/pull/15355#ref-pullrequest-1794875187
stubgen: generate valid dataclass stubs #15625 https://github.com/python/mypy/pull/15625
https://github.com/hamdanal
Merge remote-tracking branch 'upstream/master' into stubgen-defaultshttps://github.com/python/mypy/pull/15355/commits/69ba2412c997bb654a186c14c05f11f4c9316360
69ba241https://github.com/python/mypy/pull/15355/commits/69ba2412c997bb654a186c14c05f11f4c9316360
https://github.com/hoechenberger
hoechenbergerhttps://github.com/hoechenberger
Nov 23, 2023https://github.com/python/mypy/pull/15355#issuecomment-1824891976
Please reload this pagehttps://github.com/python/mypy/pull/15355
https://github.com/hamdanal
hamdanalhttps://github.com/hamdanal
Nov 26, 2023https://github.com/python/mypy/pull/15355#issuecomment-1826888873
https://github.com/JelleZijlstra/stubdefaulterhttps://github.com/JelleZijlstra/stubdefaulter
Please reload this pagehttps://github.com/python/mypy/pull/15355
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 26, 2023 https://github.com/python/mypy/pull/15355#pullrequestreview-1749412135
View reviewed changes https://github.com/python/mypy/pull/15355/files/69ba2412c997bb654a186c14c05f11f4c9316360
mypy/stubgen.pyhttps://github.com/python/mypy/pull/15355/files/69ba2412c997bb654a186c14c05f11f4c9316360#diff-f4f59f3f11de75f424007e51b2f66c80f6c4afa79b8b87f7452d5c6aa6dbb4d7
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 26, 2023https://github.com/python/mypy/pull/15355#discussion_r1405472818
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/15355
hamdanalhttps://github.com/hamdanal
Nov 26, 2023https://github.com/python/mypy/pull/15355#discussion_r1405481307
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/15355
test-data/unit/stubgen.testhttps://github.com/python/mypy/pull/15355/files/69ba2412c997bb654a186c14c05f11f4c9316360#diff-660bace74255abc117df6428b5fd549fa2a481988030ea96eb96c8b8a96baf3f
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 26, 2023https://github.com/python/mypy/pull/15355#discussion_r1405473018
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/15355
hamdanalhttps://github.com/hamdanal
November 26, 2023 22:27https://github.com/python/mypy/pull/15355#commits-pushed-73d5ddd
https://github.com/hamdanal
Merge remote-tracking branch 'upstream/master' into stubgen-defaultshttps://github.com/python/mypy/pull/15355/commits/73d5ddd0062359afbef4a6c951e136657d1ea554
73d5dddhttps://github.com/python/mypy/pull/15355/commits/73d5ddd0062359afbef4a6c951e136657d1ea554
https://github.com/hamdanal
Fix non-ascii bytes and add a test for nan and infinityhttps://github.com/python/mypy/pull/15355/commits/e432e5c20e17eac73e4da684aa43eccb6963d238
e432e5chttps://github.com/python/mypy/pull/15355/commits/e432e5c20e17eac73e4da684aa43eccb6963d238
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F15355
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 27, 2023 https://github.com/python/mypy/pull/15355#pullrequestreview-1749471759
View reviewed changes https://github.com/python/mypy/pull/15355/files/e432e5c20e17eac73e4da684aa43eccb6963d238
mypy/stubdoc.pyhttps://github.com/python/mypy/pull/15355/files/69ba2412c997bb654a186c14c05f11f4c9316360..e432e5c20e17eac73e4da684aa43eccb6963d238#diff-f0d6f8b211d20d1281e3317c6770240bbd42e1daef9a97faa03bd1cd097630d4
Please reload this pagehttps://github.com/python/mypy/pull/15355
https://github.com/JelleZijlstra
Update mypy/stubdoc.pyhttps://github.com/python/mypy/pull/15355/commits/d8e7460bed4b1ad5064d383c26b25ff3f8b77e1b
d8e7460https://github.com/python/mypy/pull/15355/commits/d8e7460bed4b1ad5064d383c26b25ff3f8b77e1b
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 27, 2023 https://github.com/python/mypy/pull/15355#pullrequestreview-1749472254
View reviewed changes https://github.com/python/mypy/pull/15355/files/d8e7460bed4b1ad5064d383c26b25ff3f8b77e1b
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/15355/commits/4011c16c40f45c1cdf45c56a6d5ba4b365561ccd
4011c16https://github.com/python/mypy/pull/15355/commits/4011c16c40f45c1cdf45c56a6d5ba4b365561ccd
https://pre-commit.cihttps://pre-commit.ci
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 27, 2023https://github.com/python/mypy/pull/15355#issuecomment-1826983247
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/15355
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
e69c5cdhttps://github.com/python/mypy/commit/e69c5cde8643e04a54a644cc27814ab98181541d
Nov 27, 2023https://github.com/python/mypy/pull/15355#event-11064872117
https://github.com/hamdanal
hamdanalhttps://github.com/hamdanal
November 27, 2023 05:58https://github.com/python/mypy/pull/15355#event-11066309384
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Apr 1, 2024 https://github.com/python/mypy/pull/15355#ref-pullrequest-2218734438
[pre-commit.ci] pre-commit autoupdate matplotlib/matplotlib#28003 https://github.com/matplotlib/matplotlib/pull/28003
https://github.co/hiddenchars
https://github.com/python/mypy/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%2Fmypy%2Fpull%2F15355
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/mypy/pull/15355/files/d8e7460bed4b1ad5064d383c26b25ff3f8b77e1b
Please reload this pagehttps://github.com/python/mypy/pull/15355
stubgen drops default values for function arguments https://github.com/python/mypy/issues/13238
Please reload this pagehttps://github.com/python/mypy/pull/15355
https://github.com/hamdanal
https://github.com/coditamar
https://github.com/QodoAI-Agent
https://github.com/hauntsaninja
https://github.com/hoechenberger
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.