[issue43817] Add inspect.get_annotations()
Larry Hastings
report at bugs.python.org
Mon Apr 26 20:10:52 EDT 2021
Larry Hastings <larry at hastings.org> added the comment:
I like Eric's suggestion best of all. I'd be willing to add a "silence errors on a case-by-case basis" flag to inspect.signature(). I imagine that would add a new field to the Parameter object (as Guido suggested) indicating which objects failed. Would that be acceptable all around?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43817>
_______________________________________
More information about the Python-bugs-list
mailing list