This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andrei.avk
Recipients AlexWaygood, andrei.avk, berker.peksag, corona10, randolf.scholz, rhettinger, serhiy.storchaka, terry.reedy, wim.glenn
Date 2021-10-27.20:21:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635366114.51.0.639965729698.issue45356@roundup.psfhosted.org>
In-reply-to
Content
I've looked more into it, the issue is that even before an object can be tested with `isinstance()`, both inspect.classify_class_attrs and in pydoc, classdoc local function `spill()` use a `getattr()` call, which triggers the property.

So I think my PR is going in the right direction, adding guards in the inspect function and in two `spill()` functions. If `isinstance()` can be fixed to detect class properties correctly, these guards can be simplified but they still need to be there, I think.
History
Date User Action Args
2021-10-27 20:21:54andrei.avksetrecipients: + andrei.avk, rhettinger, terry.reedy, berker.peksag, serhiy.storchaka, wim.glenn, corona10, randolf.scholz, AlexWaygood
2021-10-27 20:21:54andrei.avksetmessageid: <1635366114.51.0.639965729698.issue45356@roundup.psfhosted.org>
2021-10-27 20:21:54andrei.avklinkissue45356 messages
2021-10-27 20:21:54andrei.avkcreate