[Python-ideas] Check type hints in stack trace printing

Steven D'Aprano steve at pearwood.info
Thu Jun 14 08:37:05 EDT 2018

On Thu, Jun 14, 2018 at 01:03:37PM +0200, Daniel Sánchez Fábregas wrote:
> My idea consist in:
> Adding a method to perform type checking in traceback objects
> When printing stack traces search for mistyped arguments and warn about
> them to the user.

Can you give a concrete example of how this would work?


More information about the Python-ideas mailing list