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 ncoghlan
Recipients jdemeyer, ncoghlan, rhettinger, terry.reedy
Date 2018-04-15.06:46:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523774818.04.0.682650639539.issue33261@psf.upfronthosting.co.za>
In-reply-to
Content
Terry, if you'd like to continue that discussion, please open a new enhancement request for 3.8+ against the inspect module asking for the affected introspection functions to recursively search for relevant attributes, the same way `inspect.signature` digs inside different object types to look for signature information.

However, the fact the inspect module doesn't implement that search for relevant attributes today is *not* a bug - it's a past design decision that could potentially stand to be revisited.

By contrast, the fact the affected functions throw AttributeError instead of returning False for a missing attribute *is* a bug.
History
Date User Action Args
2018-04-15 06:46:58ncoghlansetrecipients: + ncoghlan, rhettinger, terry.reedy, jdemeyer
2018-04-15 06:46:58ncoghlansetmessageid: <1523774818.04.0.682650639539.issue33261@psf.upfronthosting.co.za>
2018-04-15 06:46:58ncoghlanlinkissue33261 messages
2018-04-15 06:46:57ncoghlancreate