HF RL Explorer

peekable is not subscriptable for generic type annotations

peekable is not subscriptable for generic type annotations: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). The peekable class from more-itertools does not support generic type subscript syntax (e.g., peekable str ), which is standard behavior for built-in Python containers like list str…

The task

The `peekable` class from `more-itertools` does not support generic type subscript syntax (e.g., `peekable[str]`), which is standard behavior for built-in Python containers like `list[str]` or `deque[str]` since Python 3.9.

Part of FineEnvs/repo2rlenv-r2e-gym.