[issue28214] Improve exception reporting for problematic __set_name__ attributes

Serhiy Storchaka report at bugs.python.org
Tue Sep 20 12:03:46 EDT 2016


Serhiy Storchaka added the comment:

Maybe there is a bug in using __set_name__. Usually special methods are looked in class dict. But __set_name__ is looked in instance dict. This causes to invoking __getattr__.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28214>
_______________________________________


More information about the Python-bugs-list mailing list