[Performance] No error checking interop: PyTuple_SET_ITEM PyList_SET_ITEM #1792
Martin-Molinero
started this conversation in
General
Replies: 1 comment
|
replying to myself: probably because it's a macro, see https://github.com/python/cpython/blob/main/Include/cpython/tupleobject.h#L36 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey!
Found these interop functions that have no error checking, for example: PyTuple_SET_ITEM PyList_SET_ITEM (there might more).
Wanted to know what were your thoughts about using them?
Tried adding them but it failed at runtime because it wasn't able to find them, looking at the exports of the python dlls they are not there so not sure how that part would go 🤔
All reactions