The peekable class in more-itertools does not support generic type subscript syntax at runtime. Attempting…
The peekable class in more-itertools does not support generic type subscript syntax at runtime. Attempting…: a task in repo2rlenv-swe-gen (Harbor dataset). The fix should make peekable str return a proper types.GenericAlias object, matching the behavior of built-in types like list str and standard…
The task
The fix should make `peekable[str]` return a proper `types.GenericAlias` object, matching the behavior of built-in types like `list[str]` and standard library classes like `functools.partial`.
Part of FineEnvs/repo2rlenv-swe-gen.