Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Py_DECREF: only pass filename if Py_REF_DEBUG is defined #17870

Open
wants to merge 2 commits into
base: master
from

Conversation

@vstinner
Copy link
Member

vstinner commented Jan 6, 2020

Filename and line numbers are not needed when Py_REF_DEBUG are not
defined.

The static inline _Py_DECREF() function was introduced by
commit 2aaf0c1.

Filename and line numbers are not needed when Py_REF_DEBUG are not
defined.

The static inline _Py_DECREF() function was introduced by
commit 2aaf0c1.
@vstinner

This comment has been minimized.

Copy link
Member Author

vstinner commented Jan 6, 2020

See PR #16781 for my first attempt.

@vstinner

This comment has been minimized.

Copy link
Member Author

vstinner commented Jan 6, 2020

@Yhg1s @serhiy-storchaka: Does this version look better than PR #16781?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.