[Python-ideas] Check type hints in stack trace printing
ericfahlgren at gmail.com
Thu Jun 14 10:10:42 EDT 2018
On Thu, Jun 14, 2018 at 4:03 AM Daniel Sánchez Fábregas
<daniel.sanchez.fabregas at xunta.gal> 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.
Isn't it faster and far more reliable to run your code through mypy (or
whatever) and detect these problems statically, rather than wait and hope
that you run into the problem dynamically?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas