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

2018-06-20 Thread Daniel Sánchez Fábregas
El 14/06/18 a las 14:37, Steven D'Aprano escribió: > 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 argume

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

2018-06-14 Thread Daniel Sánchez Fábregas
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. Don't know if it is in the roadmap, but seems that have a good cost/benefit ratio to me. _