Skip to content

gh-110481: fix 'unused function' warning for is_shared_refcnt_dead. - #111974

Merged
corona10 merged 1 commit into
python:mainfrom
colesbury:is_shared_refcnt_dead
Nov 10, 2023
Merged

gh-110481: fix 'unused function' warning for is_shared_refcnt_dead.#111974
corona10 merged 1 commit into
python:mainfrom
colesbury:is_shared_refcnt_dead

Conversation

@colesbury

@colesburycolesbury commented Nov 10, 2023

Copy link
Copy Markdown
Contributor

The is_shared_refcnt_dead function is only used if Py_REF_DEBUG is set.

The `is_shared_refcnt_dead` function is only used if `Py_REF_DEBUG` is set.

@corona10corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@corona10
corona10 merged commit fa84e5f into python:mainNov 10, 2023
@colesbury
colesbury deleted the is_shared_refcnt_dead branch December 12, 2023 19:38
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…dead`. (pythongh-111974)
Fix 'unused function' warning for `is_shared_refcnt_dead`.
The `is_shared_refcnt_dead` function is only used if `Py_REF_DEBUG` is set.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…dead`. (pythongh-111974)
Fix 'unused function' warning for `is_shared_refcnt_dead`.
The `is_shared_refcnt_dead` function is only used if `Py_REF_DEBUG` is set.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.13bugs and security fixesskip newstopic-free-threading

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@colesbury@corona10