[3.8] Revert "bpo-33418: Add tp_clear for function object (GH-8058)" by vstinner · Pull Request #15826 · python/cpython

@vstinner

@bedevere-bot added the type-bug

An unexpected behavior, bug, or error

label

Sep 10, 2019

nascheme added a commit to nascheme/cpython that referenced this pull request

Sep 30, 2019
This is a revert of the revert (pythonGH-15826).  Having a tp_clear for
functions should be safe (and helpful) now that bpo-38006 has been
fixed.

ambv pushed a commit that referenced this pull request

Oct 1, 2019
This is a revert of the revert (GH-15826).  Having a tp_clear for
functions should be safe (and helpful) now that bpo-38006 has been
fixed.