BPY_context_dict_clear_members_array used PyDict_DelItemString which raised & cleared the exception when the key didn't exist. Even though setting/clearing the exception is supported, it's worth avoiding where possible as it adds some overhead as well as overwriting the previous error which can free PyObject's which are unrelated to the code being executed. Possible fix for T82552, crashing on Windows when setting the exception.