[issue36880] Returning None from a callback with restype py_object decrements None's refcount too much
anthony shaw
report at bugs.python.org
Mon May 13 17:23:43 EDT 2019
anthony shaw <anthonyshaw at apache.org> added the comment:
If you can write a test similar to the AnotherLeak.test_callback test case, and commit that first.
It will show in the CI/CD log as failed and verify the issue (incase it comes up in PR review)
Then add another commit with the patch itself and we should see the CI/CD pass.
Please follow the PR guide if this is your first PR to CPython https://devguide.python.org/pullrequest/
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36880>
_______________________________________
More information about the Python-bugs-list
mailing list