| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:0d7af892-41d4-1c92-79f7-e1255f2ea002 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C90C:3EE1E4:A8C25F:DA31C5:6A600C47 |
| html-safe-nonce | 5a99b79d3fb81734ff030a31b8061d1493e08d43b25f9b6cc4a3480a21bff9b9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTBDOjNFRTFFNDpBOEMyNUY6REEzMUM1OjZBNjAwQzQ3IiwidmlzaXRvcl9pZCI6Ijg0NzgwMTM4NzkyNjQyMTgxODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 63df87ab81e132ac26329e99f40bf4e1e39da916253af1efaec49936feb64a22 |
| hovercard-subject-tag | pull_request:259555233 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typeshed/2833/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/cba6aa98f0a1184e87dff2db7900076ae524c8d23d5966cd5fceb50e13bae89a/python/typeshed/pull/2833 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cba6aa98f0a1184e87dff2db7900076ae524c8d23d5966cd5fceb50e13bae89a/python/typeshed/pull/2833 |
| og:image:alt | Probably mildly clear if you provide a default value for min/max builtins the return type becomes a 'Union'.
I don't know if that's too much but I also added two other commits (you ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kaste |
| hostname | github.com |
| expected-hostname | github.com |
| None | 48cb2ed2304f8ae5a4a05d6327faf70466c4c0d9dcbf7b9df76251ca9c669a90 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cb0f10a384099e0765239a7cc220992cae52bdba |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/typeshed/pull/2833#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F2833 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Ftypeshed%2Fpull%2F2833 |
|
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%2Ftypeshed |
| Reload | https://github.com/python/typeshed/pull/2833 |
| Reload | https://github.com/python/typeshed/pull/2833 |
| Reload | https://github.com/python/typeshed/pull/2833 |
| Please reload this page | https://github.com/python/typeshed/pull/2833 |
|
python
| https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Please reload this page | https://github.com/python/typeshed/pull/2833 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Ftypeshed |
|
Fork
2.1k
| https://github.com/login?return_to=%2Fpython%2Ftypeshed |
|
Star
5.1k
| https://github.com/login?return_to=%2Fpython%2Ftypeshed |
|
Code
| https://github.com/python/typeshed |
|
Issues
224
| https://github.com/python/typeshed/issues |
|
Pull requests
140
| https://github.com/python/typeshed/pulls |
|
Actions
| https://github.com/python/typeshed/actions |
|
Security and quality
0
| https://github.com/python/typeshed/security |
|
Insights
| https://github.com/python/typeshed/pulse |
|
Code
| https://github.com/python/typeshed |
|
Issues
| https://github.com/python/typeshed/issues |
|
Pull requests
| https://github.com/python/typeshed/pulls |
|
Actions
| https://github.com/python/typeshed/actions |
|
Security and quality
| https://github.com/python/typeshed/security |
|
Insights
| https://github.com/python/typeshed/pulse |
| srittau | https://github.com/srittau |
| python:master | https://github.com/python/typeshed/tree/master |
| kaste:improve-min-max | https://github.com/kaste/typeshed/tree/improve-min-max |
| Conversation | https://github.com/python/typeshed/pull/2833 |
| Commits4 (4) | https://github.com/python/typeshed/pull/2833/commits |
| Checks | https://github.com/python/typeshed/pull/2833/checks |
| Files changed | https://github.com/python/typeshed/pull/2833/files |
| Improve min/max | https://github.com/python/typeshed/pull/2833#top |
| srittau | https://github.com/srittau |
| python:master | https://github.com/python/typeshed/tree/master |
| kaste:improve-min-max | https://github.com/kaste/typeshed/tree/improve-min-max |
|
| https://github.com/kaste |
| kaste | https://github.com/kaste |
| Mar 8, 2019 | https://github.com/python/typeshed/pull/2833#issue-418891134 |
| python/mypy#6460 | https://github.com/python/mypy/issues/6460 |
| Please reload this page | https://github.com/python/typeshed/pull/2833 |
| kaste | https://github.com/kaste |
| March 8, 2019 18:38 | https://github.com/python/typeshed/pull/2833#commits-pushed-afb6649 |
|
| https://github.com/kaste |
| For min/max return Union type if default given | https://github.com/python/typeshed/pull/2833/commits/afb664976d04611ccc3f5587a4c45c8176e4550c |
| afb6649 | https://github.com/python/typeshed/pull/2833/commits/afb664976d04611ccc3f5587a4c45c8176e4550c |
|
| https://github.com/kaste |
| For min/max mark keyword only arguments | https://github.com/python/typeshed/pull/2833/commits/e6f70b6dada503e582b08a76c0b12a27608bb6c4 |
| e6f70b6 | https://github.com/python/typeshed/pull/2833/commits/e6f70b6dada503e582b08a76c0b12a27608bb6c4 |
|
| https://github.com/kaste |
| Also mark positional arguments | https://github.com/python/typeshed/pull/2833/commits/2f56b1faef4efba04557a36893a6ad40a9104f3a |
| 2f56b1f | https://github.com/python/typeshed/pull/2833/commits/2f56b1faef4efba04557a36893a6ad40a9104f3a |
| https://github.com/kaste |
| kaste | https://github.com/kaste |
| Mar 8, 2019 | https://github.com/python/typeshed/pull/2833#event-2190742639 |
|
| https://github.com/kaste |
| Copy changes to __builtin__.pyi | https://github.com/python/typeshed/pull/2833/commits/9176b9f8e783eb61ebcb7e4e681237df2a5f9dbc |
| 9176b9f | https://github.com/python/typeshed/pull/2833/commits/9176b9f8e783eb61ebcb7e4e681237df2a5f9dbc |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
|
Mar 8, 2019
| https://github.com/python/typeshed/pull/2833#pullrequestreview-212413607 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/2833/files/9176b9f8e783eb61ebcb7e4e681237df2a5f9dbc |
| srittau | https://github.com/srittau |
| https://github.com/python/typeshed/pull/2833#pullrequestreview-212413607 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/2833 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| 4dcd516 | https://github.com/python/typeshed/commit/4dcd516caa0c801d4189a4c115a4a6f3f4325869 |
| Mar 8, 2019 | https://github.com/python/typeshed/pull/2833#event-2190819190 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
|
Mar 8, 2019
| https://github.com/python/typeshed/pull/2833#ref-issue-412961845 |
|
For min/max functions a default value changes the key function type
python/mypy#6460
| https://github.com/python/mypy/issues/6460 |
| https://github.com/kaste |
| kaste | https://github.com/kaste |
| March 8, 2019 19:12 | https://github.com/python/typeshed/pull/2833#event-2190926760 |
| msullivan | https://github.com/msullivan |
|
Mar 25, 2019
| https://github.com/python/typeshed/pull/2833#ref-commit-80d4676 |
|
| https://github.com/msullivan |
| Add overloads for min/max that don't take default | https://github.com/python/typeshed/commit/80d4676a087ff88d07e5be414eb18044652f358b |
| 80d4676 | https://github.com/python/typeshed/commit/80d4676a087ff88d07e5be414eb18044652f358b |
| #2833 | https://github.com/python/typeshed/pull/2833 |
| https://github.com/msullivan |
| msullivan | https://github.com/msullivan |
|
Mar 25, 2019
| https://github.com/python/typeshed/pull/2833#ref-pullrequest-425096897 |
|
Add overloads for min/max that don't take default
#2885
| https://github.com/python/typeshed/pull/2885 |
| msullivan | https://github.com/msullivan |
|
Mar 25, 2019
| https://github.com/python/typeshed/pull/2833#ref-commit-c526975 |
|
| https://github.com/msullivan |
| Add overloads for min/max that don't take default ( | https://github.com/python/typeshed/commit/c526975a1bb4ad3f3601ddf2edea22e29ad4ab34 |
| #2885 | https://github.com/python/typeshed/pull/2885 |
| ) | https://github.com/python/typeshed/commit/c526975a1bb4ad3f3601ddf2edea22e29ad4ab34 |
| c526975 | https://github.com/python/typeshed/commit/c526975a1bb4ad3f3601ddf2edea22e29ad4ab34 |
| #2833 | https://github.com/python/typeshed/pull/2833 |
| https://github.com/pfaion |
| pfaion | https://github.com/pfaion |
|
Jul 18, 2024
| https://github.com/python/typeshed/pull/2833#ref-issue-2415726847 |
|
min()/max() with default value cause issues with key function type
python/mypy#17536
| https://github.com/python/mypy/issues/17536 |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F2833 |
|
| https://github.com/srittau |
|
srittau
| https://github.com/srittau |
|
| https://github.com/python/typeshed/pull/2833/files/9176b9f8e783eb61ebcb7e4e681237df2a5f9dbc |
| Please reload this page | https://github.com/python/typeshed/pull/2833 |
|
| https://github.com/kaste |
|
| https://github.com/srittau |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |