[issue44553] types.Union should support GC

Ken Jin report at bugs.python.org
Sun Jul 4 01:44:17 EDT 2021


Ken Jin <kenjin4096 at gmail.com> added the comment:

Oh I didn't see Pablo's message on the PR:

> @Fidget-Spinner For next occasions, the problem with this is that PyObject_GC_Del cannot be called like that because it overrides a bunch of cleanups like the call to _Py_ForgetReference and other possible handling.

Thanks for the explanation!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44553>
_______________________________________


More information about the Python-bugs-list mailing list