| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:c7334f7f-cbdc-ffc6-0034-4d89e3d8ad85 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A7C4:1C3DC0:382D34:4B8A5E:6B0028DE |
| html-safe-nonce | eae09f8a58e19dbf12d7f4bfbadb67ae9a2eb697828884316d4c8ea4e541f8af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0M0OjFDM0RDMDozODJEMzQ6NEI4QTVFOjZCMDAyOERFIiwidmlzaXRvcl9pZCI6IjEyNjg4NDA1MzQ4MjczNDYxNDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4384f5da11cf1734abf4e1254bf51ad06496f1cda584559ad1ce263e53a1fe71 |
| hovercard-subject-tag | pull_request:2144126257 |
| 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/12899/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d27696c316f2b81ccb413383bf8620981ec3fed31f2091f284c4368b44944a42/python/typeshed/pull/12899 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d27696c316f2b81ccb413383bf8620981ec3fed31f2091f284c4368b44944a42/python/typeshed/pull/12899 |
| og:image:alt | pin start and step to None if not given.
ensure all signatures are positional-only.
Some thoughts:
pandas initalizes list via [slice(None)], then modifies with slice(None, n).
xarray swaps a slic... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | randolf-scholz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/typeshed/pull/12899#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12899 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12899 |
| 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/12899 |
| Reload | https://github.com/python/typeshed/pull/12899 |
| Reload | https://github.com/python/typeshed/pull/12899 |
| python | https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Code | https://github.com/python/typeshed |
| Issues196 (196) | https://github.com/python/typeshed/issues |
| Pull requests251 (251) | 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/insights |
| https://github.com/python/typeshed |
| randolf-scholz | https://github.com/randolf-scholz |
| python:main | https://github.com/python/typeshed/tree/main |
| randolf-scholz:slice_generic_defaults | https://github.com/randolf-scholz/typeshed/tree/slice_generic_defaults |
| Conversation | https://github.com/python/typeshed/pull/12899 |
| Commits11 (11) | https://github.com/python/typeshed/pull/12899/commits |
| Checks | https://github.com/python/typeshed/pull/12899/checks |
| Files changed | https://github.com/python/typeshed/pull/12899/files |
| More precise type hints for slice constructor | https://github.com/python/typeshed/pull/12899#top |
| randolf-scholz | https://github.com/randolf-scholz |
| python:main | https://github.com/python/typeshed/tree/main |
| randolf-scholz:slice_generic_defaults | https://github.com/randolf-scholz/typeshed/tree/slice_generic_defaults |
|
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Oct 24, 2024 | https://github.com/python/typeshed/pull/12899#issue-2612083115 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| pandas | https://github.com/pandas-dev/pandas/blob/68d9dcab5b543adb3bfe5b83563c61a9b8afae77/pandas/core/algorithms.py#L1386-L1388 |
| xarray | https://github.com/pydata/xarray/blob/b133fdca71fd614b8056c3e995062b2834320ba5/xarray/core/dataset.py#L7949-L7959 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
|
| https://github.com/randolf-scholz |
| slice.__new__ pin start/step to None if not given | https://github.com/python/typeshed/pull/12899/commits/48b929335688d207057d3057e3dc60cd4f3c036c |
| 48b9293 | https://github.com/python/typeshed/pull/12899/commits/48b929335688d207057d3057e3dc60cd4f3c036c |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12899 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Oct 24, 2024 | https://github.com/python/typeshed/pull/12899#issuecomment-2435774279 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
|
| https://github.com/randolf-scholz |
| generic slice initialization | https://github.com/python/typeshed/pull/12899/commits/b491e4d108bcb2554a4173bf151c6b5f06cebc6d |
| b491e4d | https://github.com/python/typeshed/pull/12899/commits/b491e4d108bcb2554a4173bf151c6b5f06cebc6d |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Oct 24, 2024 | https://github.com/python/typeshed/pull/12899#issuecomment-2435783888 |
| @AlexWaygood | https://github.com/AlexWaygood |
| #12900 | https://github.com/python/typeshed/pull/12900 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12899 |
| randolf-scholz | https://github.com/randolf-scholz |
| October 24, 2024 19:17 | https://github.com/python/typeshed/pull/12899#commits-pushed-3010eda |
|
| https://github.com/randolf-scholz |
| None-overloads | https://github.com/python/typeshed/pull/12899/commits/3010eda2245bc8f8ce21660035fb533423e7a475 |
| 3010eda | https://github.com/python/typeshed/pull/12899/commits/3010eda2245bc8f8ce21660035fb533423e7a475 |
|
| https://github.com/randolf-scholz |
| Merge branch 'main' into slice_generic_defaults | https://github.com/python/typeshed/pull/12899/commits/d0f3325e66f6b588952a826796aaea5f5dddb1f7 |
| d0f3325 | https://github.com/python/typeshed/pull/12899/commits/d0f3325e66f6b588952a826796aaea5f5dddb1f7 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12899 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Oct 24, 2024 | https://github.com/python/typeshed/pull/12899#issuecomment-2435961197 |
| pandas | https://github.com/pandas-dev/pandas/blob/68d9dcab5b543adb3bfe5b83563c61a9b8afae77/pandas/core/indexes/multi.py#L2499-L2501 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
|
| https://github.com/randolf-scholz |
| explicit overloads | https://github.com/python/typeshed/pull/12899/commits/b4bcf86f901d007a959c8eef95f0e2024b9b4cdb |
| b4bcf86 | https://github.com/python/typeshed/pull/12899/commits/b4bcf86f901d007a959c8eef95f0e2024b9b4cdb |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12899 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Oct 25, 2024
| https://github.com/python/typeshed/pull/12899#pullrequestreview-2394783915 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/12899/files/b4bcf86f901d007a959c8eef95f0e2024b9b4cdb |
| AlexWaygood | https://github.com/AlexWaygood |
| https://github.com/python/typeshed/pull/12899#pullrequestreview-2394783915 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| CONTRIBUTING.md | https://github.com/python/typeshed/pull/12899/files/b4bcf86f901d007a959c8eef95f0e2024b9b4cdb#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| stdlib/builtins.pyi | https://github.com/python/typeshed/pull/12899/files/b4bcf86f901d007a959c8eef95f0e2024b9b4cdb#diff-1580ddf7dc331234b0845ffb953b6f7a5f1e9afa15048ebc0762226a08f194b4 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| stdlib/builtins.pyi | https://github.com/python/typeshed/pull/12899/files/b4bcf86f901d007a959c8eef95f0e2024b9b4cdb#diff-1580ddf7dc331234b0845ffb953b6f7a5f1e9afa15048ebc0762226a08f194b4 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| stdlib/builtins.pyi | https://github.com/python/typeshed/pull/12899/files/b4bcf86f901d007a959c8eef95f0e2024b9b4cdb#diff-1580ddf7dc331234b0845ffb953b6f7a5f1e9afa15048ebc0762226a08f194b4 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| stdlib/builtins.pyi | https://github.com/python/typeshed/pull/12899/files/b4bcf86f901d007a959c8eef95f0e2024b9b4cdb#diff-1580ddf7dc331234b0845ffb953b6f7a5f1e9afa15048ebc0762226a08f194b4 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
|
| https://github.com/randolf-scholz |
| removed accidental copy pasta | https://github.com/python/typeshed/pull/12899/commits/e838b8f29dc662ecc1140e5e1b4be673cc63787c |
| e838b8f | https://github.com/python/typeshed/pull/12899/commits/e838b8f29dc662ecc1140e5e1b4be673cc63787c |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12899 |
| randolf-scholz | https://github.com/randolf-scholz |
| October 25, 2024 12:20 | https://github.com/python/typeshed/pull/12899#commits-pushed-0104927 |
|
| https://github.com/randolf-scholz |
| simplify overloads | https://github.com/python/typeshed/pull/12899/commits/0104927b7f53e0a8942940f307b0cf5dd52c54f8 |
| 0104927 | https://github.com/python/typeshed/pull/12899/commits/0104927b7f53e0a8942940f307b0cf5dd52c54f8 |
|
| https://github.com/randolf-scholz |
| Merge branch 'main' into slice_generic_defaults | https://github.com/python/typeshed/pull/12899/commits/0d4a4cf30ac0ba8e0529ce50c8f8fbf60f8033ea |
| 0d4a4cf | https://github.com/python/typeshed/pull/12899/commits/0d4a4cf30ac0ba8e0529ce50c8f8fbf60f8033ea |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Oct 25, 2024
| https://github.com/python/typeshed/pull/12899#pullrequestreview-2394882233 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/12899/files/0d4a4cf30ac0ba8e0529ce50c8f8fbf60f8033ea |
| stdlib/builtins.pyi | https://github.com/python/typeshed/pull/12899/files/0104927b7f53e0a8942940f307b0cf5dd52c54f8#diff-1580ddf7dc331234b0845ffb953b6f7a5f1e9afa15048ebc0762226a08f194b4 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| stdlib/builtins.pyi | https://github.com/python/typeshed/pull/12899/files/0d4a4cf30ac0ba8e0529ce50c8f8fbf60f8033ea#diff-1580ddf7dc331234b0845ffb953b6f7a5f1e9afa15048ebc0762226a08f194b4 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
|
| https://github.com/randolf-scholz |
| more simplification | https://github.com/python/typeshed/pull/12899/commits/72e94b7b3a18ac2aa2656e15ef4596cb29aa6d29 |
| 72e94b7 | https://github.com/python/typeshed/pull/12899/commits/72e94b7b3a18ac2aa2656e15ef4596cb29aa6d29 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F12899 |
| randolf-scholz | https://github.com/randolf-scholz |
| October 25, 2024 12:40 | https://github.com/python/typeshed/pull/12899#commits-pushed-c73c28c |
|
| https://github.com/randolf-scholz |
|
| https://github.com/AlexWaygood |
| Update stdlib/builtins.pyi | https://github.com/python/typeshed/pull/12899/commits/c73c28cf75c9de9750e0b5e885e337c9c863967a |
| c73c28c | https://github.com/python/typeshed/pull/12899/commits/c73c28cf75c9de9750e0b5e885e337c9c863967a |
|
| https://github.com/randolf-scholz |
| always specify all generic parameters | https://github.com/python/typeshed/pull/12899/commits/2be2aa02de73766165564fd24bb70fa8b7e8c9a2 |
| 2be2aa0 | https://github.com/python/typeshed/pull/12899/commits/2be2aa02de73766165564fd24bb70fa8b7e8c9a2 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
|
Oct 25, 2024
| https://github.com/python/typeshed/pull/12899#ref-pullrequest-2613758603 |
|
builtins.slice: more precise __new__ overloads and let StopT default to StartT.
#12904
| https://github.com/python/typeshed/pull/12904 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Oct 25, 2024 | https://github.com/python/typeshed/pull/12899#issuecomment-2437475648 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| @AlexWaygood | https://github.com/AlexWaygood |
| #12904 | https://github.com/python/typeshed/pull/12904 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Oct 25, 2024 | https://github.com/python/typeshed/pull/12899#issuecomment-2437479047 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Oct 25, 2024 | https://github.com/python/typeshed/pull/12899#issuecomment-2437481370 |
| mypy_primer | https://github.com/hauntsaninja/mypy_primer |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Oct 25, 2024
| https://github.com/python/typeshed/pull/12899#pullrequestreview-2394942449 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/12899/files/2be2aa02de73766165564fd24bb70fa8b7e8c9a2 |
| stdlib/builtins.pyi | https://github.com/python/typeshed/pull/12899/files/2be2aa02de73766165564fd24bb70fa8b7e8c9a2#diff-1580ddf7dc331234b0845ffb953b6f7a5f1e9afa15048ebc0762226a08f194b4 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Oct 25, 2024 | https://github.com/python/typeshed/pull/12899#issuecomment-2437629982 |
| #12904 | https://github.com/python/typeshed/pull/12904 |
| #12899 (comment) | https://github.com/python/typeshed/pull/12899#issuecomment-2437475648 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Oct 25, 2024 | https://github.com/python/typeshed/pull/12899#event-14872487547 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
|
Mar 19, 2026
| https://github.com/python/typeshed/pull/12899#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 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%2F12899 |
|
| https://github.com/AlexWaygood |
|
AlexWaygood
| https://github.com/AlexWaygood |
|
| https://github.com/python/typeshed/pull/12899/files/2be2aa02de73766165564fd24bb70fa8b7e8c9a2 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
| Please reload this page | https://github.com/python/typeshed/pull/12899 |
|
| https://github.com/randolf-scholz |
|
| https://github.com/AlexWaygood |
|
| 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 |