Make slice generic #128335
Copy link
Copy link
Closed
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
Currently slice is not generic at runtime. It should be but wasn't ever actually implemented see python/typeshed#11637.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
Activity
gh-128335: Make slice generic at runtime (#128336)
pythongh-128335: Make slice generic at runtime (python#128336)
pythongh-128335: Make slice generic at runtime (python#128336)
johnslavik commentedon Feb 21, 2026
Closing this as the PR was merged. Thanks!