Skip to content

Conversation

@shihai1991
Copy link
Member

@shihai1991shihai1991 commented Jan 7, 2020

@shihai1991
Copy link
MemberAuthor

shihai1991 commented Jan 7, 2020

Check test_asyncio test case's failure:

(Pdb) gettotalrefcount() -7737240 (Pdb) refs_before -7709437 (Pdb) gettotalrefcount()-refs_before -28019 

in master branch:

(Pdb) gettotalrefcount() 505358 (Pdb) refs_before 497062 (Pdb) gettotalrefcount()-refs_before 8297 

Looks like that _Py_INC_TPALLOCS in _Py_NewReference() and this PR should be closed.
Compare to _Py_ForgetReference(), I don't know why _Py_NewReference() need _Py_INC_TPALLOCS. Do you know the reason? @vstinner

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@shihai1991@the-knights-who-say-ni@bedevere-bot