Message315312
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. |
|
Date |
User |
Action |
Args |
2018-04-15 06:46:58 | ncoghlan | set | recipients:
+ ncoghlan, rhettinger, terry.reedy, jdemeyer |
2018-04-15 06:46:58 | ncoghlan | set | messageid: <1523774818.04.0.682650639539.issue33261@psf.upfronthosting.co.za> |
2018-04-15 06:46:58 | ncoghlan | link | issue33261 messages |
2018-04-15 06:46:57 | ncoghlan | create | |
|