last() raises incorrect ValueError when reversed is set to None
last() raises incorrect ValueError when reversed is set to None: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). When an iterable class explicitly sets reversed = None (which is a valid Python pattern to signal that an object is not reversible), more itertools.last() incorrectly raises a…
Part of FineEnvs/repo2rlenv-r2e-gym.