<phlebas>
I think it would be ok for hpy to use this same hack so that our numpy hpy port can run on Python 3.8+
<antocuni>
it looks "reasonable"
<antocuni>
for some definition of reasonable :)
<arigato>
no idea why they are calling PyGC_Collect() though
<antocuni>
indeed, it seems not necessary, and they are not calling it in the other code paths
<arigato>
(I bet it's something like the copy of the type that dies contains cycles, and they added a "__del__():print" to check it was correctly released, and they found out the print would only work with PyGC_Collect())
<Hodgestar>
It's a debugging PyGC_Collect. :)
<Hodgestar>
phlebas: I think it's reasonable to use in order to make progress now. Maybe just stick it in a separate file so that deleting it is easy later.