]> granicus.if.org Git - python/commit
bpo-33622: Add checks for exceptions leaks in the garbage collector. (GH-7126)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 29 May 2018 15:50:10 +0000 (18:50 +0300)
committerGitHub <noreply@github.com>
Tue, 29 May 2018 15:50:10 +0000 (18:50 +0300)
commitc4653c9bf159c3919a50f4ced32eef713e7e764e
tree4b05be57029bcd2603964a1b54ccd491df7bc44f
parenta9cab433bbf02f3a1de59d14dc8f583181ffe2d5
bpo-33622: Add checks for exceptions leaks in the garbage collector. (GH-7126)

* Failure in adding to gc.garbage is no longer fatal.
* An exception in tp_clear() no longer lead to crash (though tp_clear() should not leave exceptions).
Modules/gcmodule.c