bpo-33418: Add tp_clear for function object (GH-8058)
Without tp_clear, GC can't break cyclic reference. It will cause memory leak when cyclic reference is created intentionally.
Showing
Please
register
or
sign in
to comment
Without tp_clear, GC can't break cyclic reference. It will cause memory leak when cyclic reference is created intentionally.