Package: libpython3.9 Followup-For: Bug #980906
The correct workaround is: class _CallableGenericAlias(type(list[int])): i.e. with type(), because GenericAlias = type(list[int]) in _collections_abc.py. Semantically, it is intended to make a generic type and list[int] be of the same type. The bug is not in 3.9.1-2.