René's URL Explorer Experiment


Title: `builtins.slice`: more precise `__new__` overloads and defaults for `StopT` and `StepT`. by randolf-scholz · Pull Request #13008 · python/typeshed · GitHub

Open Graph Title: `builtins.slice`: more precise `__new__` overloads and defaults for `StopT` and `StepT`. by randolf-scholz · Pull Request #13008 · python/typeshed

X Title: `builtins.slice`: more precise `__new__` overloads and defaults for `StopT` and `StepT`. by randolf-scholz · Pull Request #13008 · python/typeshed

Description: Collection of library stubs for Python, with static types - `builtins.slice`: more precise `__new__` overloads and defaults for `StopT` and `StepT`. by randolf-scholz · Pull Request #13008 · python/typeshed

Open Graph Description: Alternative to #12904, letting step default to start|stop (if intersections are ever added, use start&stop)

X Description: Alternative to #12904, letting step default to start|stop (if intersections are ever added, use start&stop)

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

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:a15b5f56-0c12-fe11-16ca-292ad876cd7a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id97BA:29A20E:2230C69:2E78FA3:6B0025A5
html-safe-nonceb4b587f7234b80df99547e9f862bc7a371ea898586f781e0c4b314c0c8096ace
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0JBOjI5QTIwRToyMjMwQzY5OjJFNzhGQTM6NkIwMDI1QTUiLCJ2aXNpdG9yX2lkIjoiNDcxNzQwNDk5MDk0NjE1Nzk4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac224338945ab32b8ecd2e5c2eb28bfc70a00e159be5051352b77bee588bc41cf3
hovercard-subject-tagpull_request:2177172121
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/13008/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a9d9eb73f5361a031110fddb6efc2116040d9a5b1353254ead71679ef3774d33/python/typeshed/pull/13008
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a9d9eb73f5361a031110fddb6efc2116040d9a5b1353254ead71679ef3774d33/python/typeshed/pull/13008
og:image:altAlternative to #12904, letting step default to start|stop (if intersections are ever added, use start&stop)
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerandolf-scholz
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/13008#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13008
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%2F13008
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/13008
Reloadhttps://github.com/python/typeshed/pull/13008
Reloadhttps://github.com/python/typeshed/pull/13008
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
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
randolf-scholz:slice_generic_step_defaulthttps://github.com/randolf-scholz/typeshed/tree/slice_generic_step_default
Conversationhttps://github.com/python/typeshed/pull/13008
Commits36 (36)https://github.com/python/typeshed/pull/13008/commits
Checkshttps://github.com/python/typeshed/pull/13008/checks
Files changedhttps://github.com/python/typeshed/pull/13008/files
builtins.slice: more precise __new__ overloads and defaults for StopT and StepT.https://github.com/python/typeshed/pull/13008#top
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
randolf-scholz:slice_generic_step_defaulthttps://github.com/randolf-scholz/typeshed/tree/slice_generic_step_default
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Nov 13, 2024https://github.com/python/typeshed/pull/13008#issue-2655234900
Please reload this pagehttps://github.com/python/typeshed/pull/13008
#12904https://github.com/python/typeshed/pull/12904
Please reload this pagehttps://github.com/python/typeshed/pull/13008
randolf-scholzhttps://github.com/randolf-scholz
October 24, 2024 18:35https://github.com/python/typeshed/pull/13008#commits-pushed-48b9293
https://github.com/randolf-scholz
slice.__new__ pin start/step to None if not givenhttps://github.com/python/typeshed/pull/13008/commits/48b929335688d207057d3057e3dc60cd4f3c036c
48b9293https://github.com/python/typeshed/pull/13008/commits/48b929335688d207057d3057e3dc60cd4f3c036c
https://github.com/randolf-scholz
generic slice initializationhttps://github.com/python/typeshed/pull/13008/commits/b491e4d108bcb2554a4173bf151c6b5f06cebc6d
b491e4dhttps://github.com/python/typeshed/pull/13008/commits/b491e4d108bcb2554a4173bf151c6b5f06cebc6d
https://github.com/randolf-scholz
None-overloadshttps://github.com/python/typeshed/pull/13008/commits/3010eda2245bc8f8ce21660035fb533423e7a475
3010edahttps://github.com/python/typeshed/pull/13008/commits/3010eda2245bc8f8ce21660035fb533423e7a475
https://github.com/randolf-scholz
Merge branch 'main' into slice_generic_defaultshttps://github.com/python/typeshed/pull/13008/commits/d0f3325e66f6b588952a826796aaea5f5dddb1f7
d0f3325https://github.com/python/typeshed/pull/13008/commits/d0f3325e66f6b588952a826796aaea5f5dddb1f7
https://github.com/randolf-scholz
explicit overloadshttps://github.com/python/typeshed/pull/13008/commits/b4bcf86f901d007a959c8eef95f0e2024b9b4cdb
b4bcf86https://github.com/python/typeshed/pull/13008/commits/b4bcf86f901d007a959c8eef95f0e2024b9b4cdb
https://github.com/randolf-scholz
removed accidental copy pastahttps://github.com/python/typeshed/pull/13008/commits/e838b8f29dc662ecc1140e5e1b4be673cc63787c
e838b8fhttps://github.com/python/typeshed/pull/13008/commits/e838b8f29dc662ecc1140e5e1b4be673cc63787c
https://github.com/randolf-scholz
simplify overloadshttps://github.com/python/typeshed/pull/13008/commits/0104927b7f53e0a8942940f307b0cf5dd52c54f8
0104927https://github.com/python/typeshed/pull/13008/commits/0104927b7f53e0a8942940f307b0cf5dd52c54f8
https://github.com/randolf-scholz
Merge branch 'main' into slice_generic_defaultshttps://github.com/python/typeshed/pull/13008/commits/0d4a4cf30ac0ba8e0529ce50c8f8fbf60f8033ea
0d4a4cfhttps://github.com/python/typeshed/pull/13008/commits/0d4a4cf30ac0ba8e0529ce50c8f8fbf60f8033ea
https://github.com/randolf-scholz
more simplificationhttps://github.com/python/typeshed/pull/13008/commits/72e94b7b3a18ac2aa2656e15ef4596cb29aa6d29
72e94b7https://github.com/python/typeshed/pull/13008/commits/72e94b7b3a18ac2aa2656e15ef4596cb29aa6d29
https://github.com/randolf-scholz
https://github.com/AlexWaygood
Update stdlib/builtins.pyihttps://github.com/python/typeshed/pull/13008/commits/c73c28cf75c9de9750e0b5e885e337c9c863967a
c73c28chttps://github.com/python/typeshed/pull/13008/commits/c73c28cf75c9de9750e0b5e885e337c9c863967a
https://github.com/randolf-scholz
always specify all generic parametershttps://github.com/python/typeshed/pull/13008/commits/2be2aa02de73766165564fd24bb70fa8b7e8c9a2
2be2aa0https://github.com/python/typeshed/pull/13008/commits/2be2aa02de73766165564fd24bb70fa8b7e8c9a2
https://github.com/randolf-scholz
different __new__ overloadshttps://github.com/python/typeshed/pull/13008/commits/37f532a15da5881b746c732bee65d6c057efca70
37f532ahttps://github.com/python/typeshed/pull/13008/commits/37f532a15da5881b746c732bee65d6c057efca70
https://github.com/randolf-scholz
added test caseshttps://github.com/python/typeshed/pull/13008/commits/11ca6c6c82aaed3836eef9ad0f2119f1f1ada374
11ca6c6https://github.com/python/typeshed/pull/13008/commits/11ca6c6c82aaed3836eef9ad0f2119f1f1ada374
https://github.com/randolf-scholz
added testshttps://github.com/python/typeshed/pull/13008/commits/4c4f3195efa127f590d407a3a71369bfd30ddbdc
4c4f319https://github.com/python/typeshed/pull/13008/commits/4c4f3195efa127f590d407a3a71369bfd30ddbdc
https://github.com/randolf-scholz
docstring firsthttps://github.com/python/typeshed/pull/13008/commits/84897a9c972c4724efd1378759e21e98f90f85bf
84897a9https://github.com/python/typeshed/pull/13008/commits/84897a9c972c4724efd1378759e21e98f90f85bf
https://github.com/randolf-scholz
keep alphabetic orderhttps://github.com/python/typeshed/pull/13008/commits/ba15c4257d0d8cf6ca63d49db4bc0e17cc93b1ad
ba15c42https://github.com/python/typeshed/pull/13008/commits/ba15c4257d0d8cf6ca63d49db4bc0e17cc93b1ad
https://github.com/randolf-scholz
T | Any testhttps://github.com/python/typeshed/pull/13008/commits/6c77882767298f714b382f10a8af5c9dc1e104f5
6c77882https://github.com/python/typeshed/pull/13008/commits/6c77882767298f714b382f10a8af5c9dc1e104f5
https://github.com/randolf-scholz
region wordinghttps://github.com/python/typeshed/pull/13008/commits/131c95cdb5c30adf90e79a06c8a5c30495187ffc
131c95chttps://github.com/python/typeshed/pull/13008/commits/131c95cdb5c30adf90e79a06c8a5c30495187ffc
https://github.com/randolf-scholz
fixed testshttps://github.com/python/typeshed/pull/13008/commits/c4117633720b6c2de5585c4e82ad4eb7a6ad3c1e
c411763https://github.com/python/typeshed/pull/13008/commits/c4117633720b6c2de5585c4e82ad4eb7a6ad3c1e
https://github.com/randolf-scholz
https://github.com/AlexWaygood
Update stdlib/@tests/test_cases/builtins/check_slice.pyhttps://github.com/python/typeshed/pull/13008/commits/6b778e0f023c3515dd414ba0f33665d213c6470f
6b778e0https://github.com/python/typeshed/pull/13008/commits/6b778e0f023c3515dd414ba0f33665d213c6470f
https://github.com/randolf-scholz
https://github.com/AlexWaygood
Update stdlib/@tests/test_cases/builtins/check_slice.pyhttps://github.com/python/typeshed/pull/13008/commits/9f51b27611d30a73d5848f3116e2ec6f4225023a
9f51b27https://github.com/python/typeshed/pull/13008/commits/9f51b27611d30a73d5848f3116e2ec6f4225023a
https://github.com/randolf-scholz
https://github.com/AlexWaygood
Update stdlib/@tests/test_cases/builtins/check_slice.pyhttps://github.com/python/typeshed/pull/13008/commits/11e7a16a6a703d21133e80597f9358ae9d0a3f65
11e7a16https://github.com/python/typeshed/pull/13008/commits/11e7a16a6a703d21133e80597f9358ae9d0a3f65
https://github.com/randolf-scholz
https://github.com/AlexWaygood
Update stdlib/@tests/test_cases/builtins/check_slice.pyhttps://github.com/python/typeshed/pull/13008/commits/f1d6c1efe62cd9981d3bc84ed38e54a1e8d4fa74
f1d6c1ehttps://github.com/python/typeshed/pull/13008/commits/f1d6c1efe62cd9981d3bc84ed38e54a1e8d4fa74
https://github.com/AlexWaygood
Merge branch 'main' into slice_generic_alternativehttps://github.com/python/typeshed/pull/13008/commits/1daeca74a7d8bfbae09f30a970f00bf7f39c7de4
1daeca7https://github.com/python/typeshed/pull/13008/commits/1daeca74a7d8bfbae09f30a970f00bf7f39c7de4
https://github.com/randolf-scholz
added integration tests for timeserieshttps://github.com/python/typeshed/pull/13008/commits/6bdad560f512d1bc9fea03e606ebc19c1bae2ebd
6bdad56https://github.com/python/typeshed/pull/13008/commits/6bdad560f512d1bc9fea03e606ebc19c1bae2ebd
https://github.com/randolf-scholz
return type testhttps://github.com/python/typeshed/pull/13008/commits/080b7faf3ae0c0354c1a46da51473dbc253d0e66
080b7fahttps://github.com/python/typeshed/pull/13008/commits/080b7faf3ae0c0354c1a46da51473dbc253d0e66
https://github.com/randolf-scholz
https://github.com/AlexWaygood
Update stdlib/@tests/test_cases/builtins/check_slice.pyhttps://github.com/python/typeshed/pull/13008/commits/c7053c299161898d3f7bc1e704c263d87a7561fb
c7053c2https://github.com/python/typeshed/pull/13008/commits/c7053c299161898d3f7bc1e704c263d87a7561fb
https://github.com/randolf-scholz
reverted to and added consistency testshttps://github.com/python/typeshed/pull/13008/commits/45a667fbd6ce09d3da0415748bf500d88ded273e
45a667fhttps://github.com/python/typeshed/pull/13008/commits/45a667fbd6ce09d3da0415748bf500d88ded273e
https://github.com/randolf-scholz
re-organized tests by number of arguments; added negative checkshttps://github.com/python/typeshed/pull/13008/commits/f0790f61e676f8b66385c26ff28fc466a230796f
f0790f6https://github.com/python/typeshed/pull/13008/commits/f0790f61e676f8b66385c26ff28fc466a230796f
https://github.com/randolf-scholz
improved readability by using equal length argumentshttps://github.com/python/typeshed/pull/13008/commits/223ff204a3c00e5ae10ec7a53c704ca04294538c
223ff20https://github.com/python/typeshed/pull/13008/commits/223ff204a3c00e5ae10ec7a53c704ca04294538c
https://github.com/randolf-scholz
default step = start|stophttps://github.com/python/typeshed/pull/13008/commits/2276eb928e732cd0201587adbabe5e3f4550015e
2276eb9https://github.com/python/typeshed/pull/13008/commits/2276eb928e732cd0201587adbabe5e3f4550015e
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13008
https://github.com/randolf-scholz
added test for defaulting behaviorhttps://github.com/python/typeshed/pull/13008/commits/7804f978898b87e659aecde174ab70013238ac73
7804f97https://github.com/python/typeshed/pull/13008/commits/7804f978898b87e659aecde174ab70013238ac73
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
Nov 13, 2024 https://github.com/python/typeshed/pull/13008#ref-pullrequest-2613758603
builtins.slice: more precise __new__ overloads and let StopT default to StartT. #12904 https://github.com/python/typeshed/pull/12904
randolf-scholzhttps://github.com/randolf-scholz
November 13, 2024 13:04https://github.com/python/typeshed/pull/13008#commits-pushed-d789577
https://github.com/randolf-scholz
added comment for step defaulthttps://github.com/python/typeshed/pull/13008/commits/d789577deced131d2b0c1a9598b0a94f30db16ac
d789577https://github.com/python/typeshed/pull/13008/commits/d789577deced131d2b0c1a9598b0a94f30db16ac
https://github.com/randolf-scholz
added comment for step defaulthttps://github.com/python/typeshed/pull/13008/commits/127e49e16920e8bbbca38ac13eddf8f803e84247
127e49ehttps://github.com/python/typeshed/pull/13008/commits/127e49e16920e8bbbca38ac13eddf8f803e84247
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13008
https://github.com/randolf-scholz
randolf-scholzhttps://github.com/randolf-scholz
November 13, 2024 12:22https://github.com/python/typeshed/pull/13008#event-15282260558
https://github.com/randolf-scholz
Merge branch 'main' into slice_generic_step_defaulthttps://github.com/python/typeshed/pull/13008/commits/7c2ba67c33927742f0428779da06e6e88d515d7a
7c2ba67https://github.com/python/typeshed/pull/13008/commits/7c2ba67c33927742f0428779da06e6e88d515d7a
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13008
https://github.com/randolf-scholz
Merge branch 'main' into slice_generic_step_defaulthttps://github.com/python/typeshed/pull/13008/commits/646e994fa2b7abfab6c33341e5c367d611c9235c
646e994https://github.com/python/typeshed/pull/13008/commits/646e994fa2b7abfab6c33341e5c367d611c9235c
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 6, 2025https://github.com/python/typeshed/pull/13008#issuecomment-2573150770
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/13008
https://github.com/srittau
srittauhttps://github.com/srittau
Feb 28, 2025 https://github.com/python/typeshed/pull/13008#pullrequestreview-2650621569
View reviewed changes https://github.com/python/typeshed/pull/13008/files/646e994fa2b7abfab6c33341e5c367d611c9235c
srittauhttps://github.com/srittau
https://github.com/python/typeshed/pull/13008#pullrequestreview-2650621569
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/13008
https://github.com/srittau
srittauhttps://github.com/srittau
be17dc0https://github.com/python/typeshed/commit/be17dc0ac4786f51174c604d047252ac54b27bfb
Feb 28, 2025https://github.com/python/typeshed/pull/13008#event-16511790009
Handle slice[None, None, None] and remove Any where not necessary #13546 https://github.com/python/typeshed/pull/13546
Replace plain slice type hints with IndexSlice. #13007 https://github.com/python/typeshed/pull/13007
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Mar 21, 2025 https://github.com/python/typeshed/pull/13008#ref-issue-2774172386
slice constructors are broken when using None #13376 https://github.com/python/typeshed/issues/13376
mmingyuhttps://github.com/mmingyu
May 16, 2025 https://github.com/python/typeshed/pull/13008#ref-commit-e2a40d4
https://github.com/randolf-scholz
builtins.slice: more precise __new__ overloads and defaults for `…https://github.com/mmingyu/typeshed/commit/e2a40d4c3ce843d8d883be7df67ba385f579ac8d
e2a40d4https://github.com/mmingyu/typeshed/commit/e2a40d4c3ce843d8d883be7df67ba385f579ac8d
python#13008https://github.com/python/typeshed/pull/13008
https://github.com/Dutcho
Dutchohttps://github.com/Dutcho
Mar 19, 2026 https://github.com/python/typeshed/pull/13008#ref-issue-4101053056
Properties .start, .stop, . step of (generic) slice[...] should be optional (| None) #15526 https://github.com/python/typeshed/issues/15526
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%2F13008
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/13008/files/646e994fa2b7abfab6c33341e5c367d611c9235c
Please reload this pagehttps://github.com/python/typeshed/pull/13008
Please reload this pagehttps://github.com/python/typeshed/pull/13008
https://github.com/randolf-scholz
https://github.com/srittau
https://github.com/AlexWaygood
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.