Created
September 30, 2024 12:44
-
-
Save K0lb3/5c4e0f6178513dede5ad685800261235 to your computer and use it in GitHub Desktop.
CPython - New Ref or Borrowed Ref
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PyDict: | |
New reference: | |
PyDict_New | |
PyDict_Copy | |
PyDict_SetItem | |
PyDict_SetItemString | |
PyDict_Items | |
PyDict_Keys | |
PyDict_Values | |
Borrowed reference: | |
PyDict_GetItem | |
PyDict_GetItemWithError | |
PyDict_GetItemString | |
PyDict_SetDefault | |
PyList: | |
New reference: | |
PyList_New | |
PyList_GetSlice | |
PyList_AsTuple | |
Borrowed reference: | |
PyList_GetItem / PyList_GET_ITEM | |
PyList_SetItem / PyList_SET_ITEM | |
PyList_Insert ? | |
PyList_Append ? | |
PyList_SetSlice ? | |
Tuple: | |
New reference: | |
PyTuple_New | |
PyTuple_Pack (for tuple and values) | |
PyTuple_GetSlice | |
Borrowed reference: | |
PyTuple_GetItem / PyTuple_GET_ITEM | |
PyTuple_SetItem / PyTuple_SET_ITEM | |
Object: | |
New reference: | |
PyObject_GetAttr | |
PyObject_GetAttrString | |
PyObject_GenericGetAttr | |
PyObject_SetAttr - ? | |
PyObject_SetAttrString - ? | |
PyObject_GenericSetAttr - ? | |
PyObject_GenericGetDict | |
PyObject_GetItem | |
PyObject_RichCompare | |
Borrowed reference: | |
PyObject_GenericSetDict |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment