C-API
-----
+- PyObject_CallMethod now passes along any underlying AttributeError from
+ PyObject_GetAttr, instead of replacing it with something less informative
+
- Issue #10913: Deprecate misleading functions PyEval_AcquireLock() and
PyEval_ReleaseLock(). The thread-state aware APIs should be used instead.
func = _PyObject_GetAttrId(o, name);
if (func == NULL) {
- PyErr_SetString(PyExc_AttributeError, name->string);
return 0;
}
func = _PyObject_GetAttrId(o, name);
if (func == NULL) {
- PyErr_SetString(PyExc_AttributeError, name->string);
return NULL;
}
va_start(va, format);