]> granicus.if.org Git - python/commit
bpo-38379: don't claim objects are collected when they aren't (#16658)
authorTim Peters <tim.peters@gmail.com>
Wed, 9 Oct 2019 17:37:30 +0000 (12:37 -0500)
committerGitHub <noreply@github.com>
Wed, 9 Oct 2019 17:37:30 +0000 (12:37 -0500)
commitecbf35f9335b0420cb8adfda6f299d6747a16515
tree3f011932f3e968a91391a6931346825596525f60
parent01171ebd966b0cd6352057799ad876dd1e07942e
bpo-38379:  don't claim objects are collected when they aren't (#16658)

* bpo-38379:  when a finalizer resurrects an object,
nothing is actually collected in this run of gc.
Change the stats to relect that truth.
Lib/test/test_gc.py
Misc/NEWS.d/next/Core and Builtins/2019-10-09-16-50-52.bpo-38379.oz5qZx.rst [new file with mode: 0644]
Modules/gcmodule.c