Antoine Pitrou <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue31572>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to