Skip to content

Check PyList_Append return value#9690

Open
radarhere wants to merge 1 commit into
python-pillow:mainfrom
radarhere:pylist_append
Open

Check PyList_Append return value#9690
radarhere wants to merge 1 commit into
python-pillow:mainfrom
radarhere:pylist_append

Conversation

@radarhere

Copy link
Copy Markdown
Member

https://docs.python.org/3/c-api/list.html#c.PyList_Append

int PyList_Append(PyObject *list, PyObject *item)
Part of the Stable ABI. Thread safety: Atomic.
Append the object item at the end of list list. Return 0 if successful; return -1 and set an exception if unsuccessful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant