[issue31572] Avoid suppressing all exceptions in PyObject_HasAttr()
Antoine Pitrou
report at bugs.python.org
Sun Oct 22 17:26:37 EDT 2017
Antoine Pitrou <pitrou at free.fr> added the comment:
> The only solution of this problem is getting rid of PyObject_HasAttr() if favor of PyObject_GetAttr().
I don't understand why. Why not fix PyObject_HasAttr() like hasattr() was?
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31572>
_______________________________________
More information about the Python-bugs-list
mailing list