remove KeyError checks after PyDict_SetItem