namedtuple and namedlist raise IndexError instead of ValueError for empty names
namedtuple and namedlist raise IndexError instead of ValueError for empty names: a task in repo2rlenv-swe-next (Harbor dataset). Passing an empty string as a field name or typename to boltons.namedutils.namedtuple (or namedlist ) crashes with an IndexError instead of raising a clean ValueError .
Part of FineEnvs/repo2rlenv-swe-next.