Closed ghost closed 1 year ago
The collections.Iterable is broken in python 3.10, collections.abc.Iterable has to be used.
collections.Iterable
collections.abc.Iterable
I would like to submit a suggestion. How about to check the backward compatibility issue? The try-exception expression is more suitable.
try: collections = collections.abc except AttributeError: pass
The
collections.Iterable
is broken in python 3.10,collections.abc.Iterable
has to be used.