[issue40276] Make member objects inspectable.

Pablo Galindo Salgado report at bugs.python.org
Wed Apr 15 04:10:53 EDT 2020


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

What should this return?

>>> class A:
...   __slots__ = ['x', 'y', 'z']
...
>>> class B(A):
...   __slots__ = ['g','i']
...


>>> B.x.offset

----------
nosy: +pablogsal

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


More information about the Python-bugs-list mailing list