[issue38337] inspect: getmembers calls properties
hongweipeng
report at bugs.python.org
Thu Oct 3 14:30:19 EDT 2019
hongweipeng <hongweichen8888 at sina.com> added the comment:
The results of this example are different from mine(version 3.7.4).
```
__init__
--- getmembers from instance ---
Access property
[('__class__', <class '__main__.Example'>), ... ('var', 'Hello')]
--- getmembers from class ---
[('__class__', <class 'type'>),'var', <property object at 0x>)]
```
----------
nosy: +hongweipeng
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38337>
_______________________________________
More information about the Python-bugs-list
mailing list