[issue46103] inspect.getmembers will call the instance __bases__ attribute, which may cause an exception

Ethan Furman report at bugs.python.org
Sun Jan 23 12:40:42 EST 2022


Ethan Furman <ethan at stoneleaf.us> added the comment:


New changeset 691506f4e9408a1205166f99640946ad7822e302 by Weipeng Hong in branch 'main':
bpo-46103: Fix inspect.getmembers to only get __bases__ from class (GH-30147)
https://github.com/python/cpython/commit/691506f4e9408a1205166f99640946ad7822e302


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46103>
_______________________________________


More information about the Python-bugs-list mailing list