Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-35059: Enhance _PyObject_GC_TRACK() macros#20931

Merged
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:object_track_macroCopy head branch name to clipboard
Jun 17, 2020
Merged

bpo-35059: Enhance _PyObject_GC_TRACK() macros#20931
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:object_track_macroCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Jun 17, 2020

Copy link
Copy Markdown
Member
  • 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
Copy Markdown
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
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.