Mar-30-2021, 04:37 PM
I'd suggest trying it with a debugger attached, so you can inspect what
key
is, maybe check the return value of PyObject_GetItem()
(it might be null?)