Nick Coghlan <> added the comment:

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.


Python tracker <>
Python-bugs-list mailing list

Reply via email to