Open jolaf opened 2 years ago
It looks like this issue was introduced by Python 3.10 which dropped some aliases. It would be trivial to fix this particular issue, but be aware that pytypes would still be far from supporting Python 3.9 or 3.10. AFAIK the changes in typing from 3.8 to 3.9 are significant and would require half a rewrite of pytypes to support, see #116 .
type_util.py
referencescollections.Iterable
andcollections.Iterator
which is incorrect, it should becollections.abc.Iterable
andcollections.abc.Iterator
.It causes actual crashes like this: