Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Python 3.7 (2.7 looks almost the same): class Demo(builtins.object) | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) | | data | Doc of a data-descriptor. | | non_data | Doc of a non-data descriptor. | | prop | Doc of a property. Python 3.8: class Demo(builtins.object) | Readonly properties defined here: | | data | Doc of a data-descriptor. | | non_data | Doc of a non-data descriptor. | | prop | Doc of a property. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) Python 3.9: class Demo(builtins.object) | Readonly properties defined here: | | data | | non_data | | prop | Doc of a property. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) Seems the original bug was fixed, but a regression was introduced in 3.9. ---------- status: pending -> open versions: +Python 3.10, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue8488> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com