HF RL Explorer

peekable is not subscriptable as a generic type

peekable is not subscriptable as a generic type: a task in repo2rlenv-swe-next (Harbor dataset). Trying to use peekable with a type parameter like peekable str raises a TypeError , even though similar classes in Python's standard library (e.g., list str , functools.partial str ) support this syntax.

The task

Trying to use `peekable` with a type parameter like `peekable[str]` raises a `TypeError`, even though similar classes in Python's standard library (e.g., `list[str]`, `functools.partial[str]`) support this syntax.

Part of FineEnvs/repo2rlenv-swe-next.