Skip to content

bpo-46449: Adjust refcnt for Py_INCREF/Py_DECREF on immortal code-objects#30976

Closed
kumaraditya303 wants to merge 2 commits intopython:mainfrom
kumaraditya303:refcnt
Closed

bpo-46449: Adjust refcnt for Py_INCREF/Py_DECREF on immortal code-objects#30976
kumaraditya303 wants to merge 2 commits intopython:mainfrom
kumaraditya303:refcnt

Conversation

@kumaraditya303
Copy link
Copy Markdown
Contributor

@kumaraditya303 kumaraditya303 commented Jan 28, 2022

@kumaraditya303 kumaraditya303 changed the title bpo-46449: Adjust _Py_RefTotal for Py_INCREF/Py_DECREF on immortal code-objects in deepfreeze leading to inconsistency in sys.gettotalrefcount() bpo-46449: Adjust refcnt for Py_INCREF/Py_DECREF on immortal code-objects ... Jan 28, 2022
@kumaraditya303
Copy link
Copy Markdown
Contributor Author

Closing in favor of Christian's solution. See bpo

@kumaraditya303 kumaraditya303 changed the title bpo-46449: Adjust refcnt for Py_INCREF/Py_DECREF on immortal code-objects ... bpo-46449: Deepfreeze module use strong reference instead of borrowed reference Jan 28, 2022
@kumaraditya303 kumaraditya303 changed the title bpo-46449: Deepfreeze module use strong reference instead of borrowed reference bpo-46449: Adjust refcnt for Py_INCREF/Py_DECREF on immortal code-objects Jan 28, 2022
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