Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
ISTM the only way dir(self) would make a difference would be if functions we being assigned to instances rather than the class. Also, it's uncleaar why setattr() is at issue -- it works the same way as regular attribute assignment using the dot operator. ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28657> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com