]> granicus.if.org Git - python/commit
Restore tp_clear for function object. (#16502)
authorNeil Schemenauer <nas-github@arctrix.com>
Tue, 1 Oct 2019 07:49:36 +0000 (00:49 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Tue, 1 Oct 2019 07:49:36 +0000 (09:49 +0200)
commitb3612070b746f799901443b65725008bc035872b
treefe110a92e3fe01432f44850201a6990500f00acd
parent2f644c0dc951868181e380f3d1cb4854e3a3152e
Restore tp_clear for function object. (#16502)

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.
Objects/funcobject.c