_pickle.UnpicklingError: NEWOBJ class argument must be a type, not types.GenericAlias
When doing pickle.load() for a Python data dump, I am getting an error:
_pickle.UnpicklingError: NEWOBJ class argument must be a type, not types.GenericAlias
What is the cause?
Python 3.11.