SIGN IN SIGN UP

Move tp_clear workaround to .NET

In Python 3.14, the objects __dict__ seems to already be half
deconstructed, leading to crashes during garbage collection.

Since gc in Python is single-threaded (I think :)), it should
be fine to have a single static for this. If that is not true,
we can always use a thread-local instead.
B
Benedikt Reinartz committed
908e13b664fe208b72b25773015cbc0e7ed97d78
Parent: 698bf00