Closed
Description
This works in Python 3.11, but fails in 3.12b3:
import weakref
import typing
weakref.ref(typing.TypeVar('T'))
I'm assuming it's an unintentional side effect of the PEP-695 implementation? Unfortunately I don't have time to investigate right now, let me know if I should.
Reported in cloudpipe/cloudpickle#507