3 ms·
PyObject *arg = PyTuple_GET_ITEM(varnames, j); > ... can be null if varnames is an empty tuple (which it can be if the pyc file is malformed). This might be
by wyldfire 10y ago
PyObject *arg = PyTuple_GET_ITEM(varnames, j);
> ... can be null if varnames is an empty tuple (which it can be if the pyc file is malformed).
This might be a case of "program works as designed" if the dev team thinks that's an acceptable reaction to malformed pyc input. But, hey, it's worth reporting because I would probably be inclined to fix it if I were the BDFL.