[Python-ideas] Function arguments in tracebacks

Emanuel Landeholm emanuel.landeholm at gmail.com
Wed Dec 28 16:01:55 EST 2016


I think an argument could be made for including the str() of parameters of
primitive types and with small values (for some value of "primitive" and
"small", can of worms here...). I'm thinking numbers and short strings.
Maybe a flag to control this behaviour? My gut feeling is that this would
be a hack with lots of corner cases and surprises so it would probably not
be very helpful in the general case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20161228/670ad3c7/attachment.html>


More information about the Python-ideas mailing list