René's URL Explorer Experiment


Title: new protocol, overloads to list.sort, sorted; prep. to fix #4051, by ramalho · Pull Request #4155 · python/typeshed · GitHub

Open Graph Title: new protocol, overloads to list.sort, sorted; prep. to fix #4051, by ramalho · Pull Request #4155 · python/typeshed

X Title: new protocol, overloads to list.sort, sorted; prep. to fix #4051, by ramalho · Pull Request #4155 · python/typeshed

Description: Collection of library stubs for Python, with static types - new protocol, overloads to list.sort, sorted; prep. to fix #4051, by ramalho · Pull Request #4155 · python/typeshed

Open Graph Description: As agreed with @JelleZijlstra, this PR introduces the _SupportsLessThan protocol and a type variable bounded to it to check arguments to list.sort and sorted on Python 3 (on Python 2, these checks ...

X Description: As agreed with @JelleZijlstra, this PR introduces the _SupportsLessThan protocol and a type variable bounded to it to check arguments to list.sort and sorted on Python 3 (on Python 2, these checks ...

Opengraph URL: https://github.com/python/typeshed/pull/4155

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:c1d7f371-fefb-2362-729c-ebddf554321d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7BC:D33AC:31EAC2:43680D:6B002772
html-safe-nonce1e157dadc60fd5a0dcbde72ac424f6ec572cd93d3adb33d62db029f8370d5870
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0JDOkQzM0FDOjMxRUFDMjo0MzY4MEQ6NkIwMDI3NzIiLCJ2aXNpdG9yX2lkIjoiMTgzMjU0NTIzNDI2MTY0OTI2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd1c6f010d3fb0848906e97acf0fa99e7e9e16592ce8c773480a3e501240281e7
hovercard-subject-tagpull_request:426355893
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/typeshed/4155/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0d9cc60733a1ec9e584546d06cdbd9cfcff8c5e9e0775b1ff907c44f6cf762bc/python/typeshed/pull/4155
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0d9cc60733a1ec9e584546d06cdbd9cfcff8c5e9e0775b1ff907c44f6cf762bc/python/typeshed/pull/4155
og:image:altAs agreed with @JelleZijlstra, this PR introduces the _SupportsLessThan protocol and a type variable bounded to it to check arguments to list.sort and sorted on Python 3 (on Python 2, these checks ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameramalho
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/4155#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F4155
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%2Ftypeshed%2Fpull%2F4155
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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/4155
Reloadhttps://github.com/python/typeshed/pull/4155
Reloadhttps://github.com/python/typeshed/pull/4155
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests251 (251)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
ramalhohttps://github.com/ramalho
python:masterhttps://github.com/python/typeshed/tree/master
Conversationhttps://github.com/python/typeshed/pull/4155
Commits9 (9)https://github.com/python/typeshed/pull/4155/commits
Checkshttps://github.com/python/typeshed/pull/4155/checks
Files changedhttps://github.com/python/typeshed/pull/4155/files
new protocol, overloads to list.sort, sorted; prep. to fix #4051,https://github.com/python/typeshed/pull/4155#top
ramalhohttps://github.com/ramalho
python:masterhttps://github.com/python/typeshed/tree/master
https://github.com/ramalho
ramalhohttps://github.com/ramalho
Jun 2, 2020https://github.com/python/typeshed/pull/4155#issue-628907740
Please reload this pagehttps://github.com/python/typeshed/pull/4155
@JelleZijlstrahttps://github.com/JelleZijlstra
#4051https://github.com/python/typeshed/issues/4051
Please reload this pagehttps://github.com/python/typeshed/pull/4155
ramalhohttps://github.com/ramalho
June 1, 2020 23:22https://github.com/python/typeshed/pull/4155#commits-pushed-356c64d
https://github.com/ramalho
new protocol, overloads to list.sort, sorted; prep. tohttps://github.com/python/typeshed/pull/4155/commits/356c64d963f7154fc8a001eb6c75dc7ef83eead1
fixhttps://github.com/python/typeshed/pull/4155/commits/356c64d963f7154fc8a001eb6c75dc7ef83eead1
#4051https://github.com/python/typeshed/issues/4051
356c64dhttps://github.com/python/typeshed/pull/4155/commits/356c64d963f7154fc8a001eb6c75dc7ef83eead1
https://github.com/ramalho
syncing builtins.py with __builtin__.pyihttps://github.com/python/typeshed/pull/4155/commits/c02b78374ce035ccd9d8933d062c44c6579ae6ff
c02b783https://github.com/python/typeshed/pull/4155/commits/c02b78374ce035ccd9d8933d062c44c6579ae6ff
https://github.com/ramalho
syncing builtins.py with __builtin__.pyihttps://github.com/python/typeshed/pull/4155/commits/7f5601ac019713617936abc13d0c14d528f34ae5
7f5601ahttps://github.com/python/typeshed/pull/4155/commits/7f5601ac019713617936abc13d0c14d528f34ae5
https://github.com/ramalho
removing extra ... from sort/sorted overloadshttps://github.com/python/typeshed/pull/4155/commits/3542d3937520766e3b04a9b4d15f8bc58a2fe598
3542d39https://github.com/python/typeshed/pull/4155/commits/3542d3937520766e3b04a9b4d15f8bc58a2fe598
https://github.com/ramalho
Merge branch 'master' of github.com:ramalho/typeshedhttps://github.com/python/typeshed/pull/4155/commits/a5a028934d5966a9c6b923c995b154bcdb65d234
a5a0289https://github.com/python/typeshed/pull/4155/commits/a5a028934d5966a9c6b923c995b154bcdb65d234
https://github.com/ramalho
syncing builtins.py with __builtin__.pyihttps://github.com/python/typeshed/pull/4155/commits/76e0907bc59b093086427c70b702a3557bbfe716
76e0907https://github.com/python/typeshed/pull/4155/commits/76e0907bc59b093086427c70b702a3557bbfe716
https://github.com/ramalho
ramalhohttps://github.com/ramalho
Jun 2, 2020https://github.com/python/typeshed/pull/4155#issuecomment-637285360
@hauntsaninjahttps://github.com/hauntsaninja
Please reload this pagehttps://github.com/python/typeshed/pull/4155
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jun 2, 2020https://github.com/python/typeshed/pull/4155#issuecomment-637290596
Please reload this pagehttps://github.com/python/typeshed/pull/4155
Please reload this pagehttps://github.com/python/typeshed/pull/4155
Merge remote-tracking branch 'upstream/master'https://github.com/python/typeshed/pull/4155/commits/e46d4c1b03185e40124c11cbd9227d32e910f5d4
e46d4c1https://github.com/python/typeshed/pull/4155/commits/e46d4c1b03185e40124c11cbd9227d32e910f5d4
https://github.com/ramalho
ramalhohttps://github.com/ramalho
Jun 2, 2020https://github.com/python/typeshed/pull/4155#event-3397323698
https://github.com/srittau
srittauhttps://github.com/srittau
Jun 2, 2020 https://github.com/python/typeshed/pull/4155#pullrequestreview-422661500
View reviewed changes https://github.com/python/typeshed/pull/4155/files/e46d4c1b03185e40124c11cbd9227d32e910f5d4
stdlib/2/__builtin__.pyihttps://github.com/python/typeshed/pull/4155/files/e46d4c1b03185e40124c11cbd9227d32e910f5d4#diff-1d779f57c4a031bf6683d708babcda1f1e1bc38fc30e63e87c3451827a870a30
srittauhttps://github.com/srittau
Jun 2, 2020https://github.com/python/typeshed/pull/4155#discussion_r433863897
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/4155
ramalhohttps://github.com/ramalho
Jun 2, 2020https://github.com/python/typeshed/pull/4155#discussion_r434082098
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@srittauhttps://github.com/srittau
Please reload this pagehttps://github.com/python/typeshed/pull/4155
https://github.com/srittau
srittauhttps://github.com/srittau
Jun 2, 2020 https://github.com/python/typeshed/pull/4155#pullrequestreview-422662318
View reviewed changes https://github.com/python/typeshed/pull/4155/files/e46d4c1b03185e40124c11cbd9227d32e910f5d4
stdlib/2/__builtin__.pyihttps://github.com/python/typeshed/pull/4155/files/e46d4c1b03185e40124c11cbd9227d32e910f5d4#diff-1d779f57c4a031bf6683d708babcda1f1e1bc38fc30e63e87c3451827a870a30
srittauhttps://github.com/srittau
Jun 2, 2020https://github.com/python/typeshed/pull/4155#discussion_r433864506
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/4155
ramalhohttps://github.com/ramalho
Jun 2, 2020https://github.com/python/typeshed/pull/4155#discussion_r434087513
Please reload this pagehttps://github.com/python/typeshed/pull/4155
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@srittauhttps://github.com/srittau
Please reload this pagehttps://github.com/python/typeshed/pull/4155
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 2, 2020https://github.com/python/typeshed/pull/4155#discussion_r434094280
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@srittauhttps://github.com/srittau
Please reload this pagehttps://github.com/python/typeshed/pull/4155
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 6, 2020https://github.com/python/typeshed/pull/4155#discussion_r436276722
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/4155
ramalhohttps://github.com/ramalho
June 2, 2020 15:26https://github.com/python/typeshed/pull/4155#commits-pushed-6ddefc0
https://github.com/ramalho
Remove redundant _LT typevar in list.sort overloadshttps://github.com/python/typeshed/pull/4155/commits/6ddefc0f6d7e819f90461c79223c40668ef95a14
6ddefc0https://github.com/python/typeshed/pull/4155/commits/6ddefc0f6d7e819f90461c79223c40668ef95a14
https://github.com/ramalho
Syncing 2/__builtin__.pyi with 2and3/builtins.pyihttps://github.com/python/typeshed/pull/4155/commits/eb0297b1e30d50a9f2c6d3c8f114043dfac4eb1a
eb0297bhttps://github.com/python/typeshed/pull/4155/commits/eb0297b1e30d50a9f2c6d3c8f114043dfac4eb1a
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jun 2, 2020https://github.com/python/typeshed/pull/4155#issuecomment-637813696
Please reload this pagehttps://github.com/python/typeshed/pull/4155
Please reload this pagehttps://github.com/python/typeshed/pull/4155
https://github.com/srittau
srittauhttps://github.com/srittau
Jun 2, 2020https://github.com/python/typeshed/pull/4155#issuecomment-637816958
Please reload this pagehttps://github.com/python/typeshed/pull/4155
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 2, 2020https://github.com/python/typeshed/pull/4155#issuecomment-637829138
Please reload this pagehttps://github.com/python/typeshed/pull/4155
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 3, 2020 https://github.com/python/typeshed/pull/4155#ref-pullrequest-629959911
Add a _typeshed.pyi file and a PathLike alias #4161 https://github.com/python/typeshed/pull/4161
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 6, 2020 https://github.com/python/typeshed/pull/4155#pullrequestreview-425747606
View reviewed changes https://github.com/python/typeshed/pull/4155/files/eb0297b1e30d50a9f2c6d3c8f114043dfac4eb1a
stdlib/2/__builtin__.pyihttps://github.com/python/typeshed/pull/4155/files/eb0297b1e30d50a9f2c6d3c8f114043dfac4eb1a#diff-1d779f57c4a031bf6683d708babcda1f1e1bc38fc30e63e87c3451827a870a30
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 6, 2020https://github.com/python/typeshed/pull/4155#discussion_r436276693
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/4155
stdlib/2/__builtin__.pyihttps://github.com/python/typeshed/pull/4155/files/e46d4c1b03185e40124c11cbd9227d32e910f5d4#diff-1d779f57c4a031bf6683d708babcda1f1e1bc38fc30e63e87c3451827a870a30
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 6, 2020https://github.com/python/typeshed/pull/4155#discussion_r436276722
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/4155
https://github.com/ramalho
ramalhohttps://github.com/ramalho
Jun 6, 2020 https://github.com/python/typeshed/pull/4155#ref-pullrequest-632579700
protocol, overloads to list.sort, sorted; WIP to fix #4051 (replaces #4155) #4192 https://github.com/python/typeshed/pull/4192
https://github.com/ramalho
ramalhohttps://github.com/ramalho
Jun 6, 2020https://github.com/python/typeshed/pull/4155#issuecomment-640095176
@JelleZijlstrahttps://github.com/JelleZijlstra
@srittauhttps://github.com/srittau
@hauntsaninjahttps://github.com/hauntsaninja
#4192https://github.com/python/typeshed/pull/4192
#4192https://github.com/python/typeshed/pull/4192
Please reload this pagehttps://github.com/python/typeshed/pull/4155
https://github.com/ramalho
ramalhohttps://github.com/ramalho
Jun 6, 2020https://github.com/python/typeshed/pull/4155#event-3415080828
https://github.com/bmc-msft
bmc-msfthttps://github.com/bmc-msft
Oct 9, 2020 https://github.com/python/typeshed/pull/4155#ref-pullrequest-718377097
Fixes typing error identified by a new mypy release microsoft/onefuzz#129 https://github.com/microsoft/onefuzz/pull/129
https://github.com/himkt
himkthttps://github.com/himkt
Dec 5, 2020 https://github.com/python/typeshed/pull/4155#ref-pullrequest-757687074
Unpin mypy version optuna/optuna#2069 https://github.com/optuna/optuna/pull/2069
https://github.co/hiddenchars
https://github.com/python/typeshed/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%2Ftypeshed%2Fpull%2F4155
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/4155/files/e46d4c1b03185e40124c11cbd9227d32e910f5d4
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/typeshed/pull/4155/files/eb0297b1e30d50a9f2c6d3c8f114043dfac4eb1a
Please reload this pagehttps://github.com/python/typeshed/pull/4155
Please reload this pagehttps://github.com/python/typeshed/pull/4155
https://github.com/ramalho
https://github.com/hauntsaninja
https://github.com/srittau
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.