]> granicus.if.org Git - python/commit
bpo-30341: Improve _PyTrash_thread_destroy_chain() a little bit (#1545)
authorXiang Zhang <angwerzx@126.com>
Sat, 13 May 2017 05:36:14 +0000 (13:36 +0800)
committerGitHub <noreply@github.com>
Sat, 13 May 2017 05:36:14 +0000 (13:36 +0800)
commita66f9c6bb134561a24374f10e8c35417d356ce14
tree5a734db23e620a0d0a7703bb1f2b51702fbd951c
parent8619c5417ceddb4165c68b9b8aacababd49b0607
bpo-30341: Improve _PyTrash_thread_destroy_chain() a little bit (#1545)

* add a comment about why we need to increase trash_delete_nesting
* move increase and decrese outside of the loop
Include/object.h
Objects/object.c