Currently slice is not generic at runtime. It should be but wasn't ever actually implemented see python/typeshed#11637.
This is a minor feature, which does not need previous discussion elsewhere
No response
gh-128335: Make slice generic at runtime (#128336)
pythongh-128335: Make slice generic at runtime (python#128336)
Closing this as the PR was merged. Thanks!
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 commented on Feb 21, 2026
Closing this as the PR was merged. Thanks!