You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, in the collation callback two str objects (string1 and string2) are created using PyUnicode_FromStringAndSize. Error handling should happen directly after each call to PyUnicode_FromStringAndSize:
For example, in the collation callback two
strobjects (string1andstring2) are created usingPyUnicode_FromStringAndSize. Error handling should happen directly after each call toPyUnicode_FromStringAndSize:cpython/Modules/_sqlite/connection.c
Lines 1870 to 1875 in 0cb6b9b
Other cases where error handling is not done immediately after the API has been used:
zoneinfomodule #105586_testcapi/heaptype.c#105608I might have missed some; I did not do a complete audit yet.
Linked PRs
zoneinfomodule #105586_testcapi/heaptype.c#105608zoneinfomodule (GH-105586) #105612zoneinfomodule (GH-105586) #105613_testcapi/heaptype.c(GH-105608) #105615