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

bpo-39153: Clarify refcounting semantics #18220

Open
wants to merge 2 commits into
base: master
from

Conversation

@nanjekyejoannah
Copy link
Contributor

nanjekyejoannah commented Jan 27, 2020

Clarify refcounting semantics for the following functions:

  • PyObject_SetItem
  • PyMapping_SetItemString
  • PyDict_SetItem
  • PyDict_SetItemString

https://bugs.python.org/issue39153

nanjekyejoannah
@brandtbucher

This comment has been minimized.

Copy link
Member

brandtbucher commented Jan 28, 2020

Thanks @nanjekyejoannah; I can't tell you how many times I've had to dig through the source code to remember this!

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