Skip to content

bpo-35059: Enhance _PyObject_GC_TRACK() macros #20931

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

Merged
merged 1 commit into from
Jun 17, 2020
Merged

bpo-35059: Enhance _PyObject_GC_TRACK() macros #20931

merged 1 commit into from
Jun 17, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 17, 2020

  • Rename _PyObject_GC_TRACK_impl() to _PyObject_GC_TRACK()
  • Rename _PyObject_GC_UNTRACK_impl() to _PyObject_GC_UNTRACK()
  • Omit filename and lineno parameters if NDEBUG is defined.

https://bugs.python.org/issue35059

* Rename _PyObject_GC_TRACK_impl() to _PyObject_GC_TRACK()
* Rename _PyObject_GC_UNTRACK_impl() to _PyObject_GC_UNTRACK()
* Omit filename and lineno parameters if NDEBUG is defined.
@vstinner
Copy link
Member Author

cc @methane

@vstinner vstinner merged commit 07923f3 into python:master Jun 17, 2020
@vstinner vstinner deleted the object_track_macro branch June 17, 2020 12:23
arun-mani-j pushed a commit to arun-mani-j/cpython that referenced this pull request Jul 21, 2020
* Rename _PyObject_GC_TRACK_impl() to _PyObject_GC_TRACK()
* Rename _PyObject_GC_UNTRACK_impl() to _PyObject_GC_UNTRACK()
* Omit filename and lineno parameters if NDEBUG is defined.
Sign up for free to 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