how to discover what values produced an exception?
Chris Angelico
rosuav at gmail.com
Mon May 6 13:46:09 EDT 2024
On Tue, 7 May 2024 at 03:38, Alan Bawden via Python-list
<python-list at python.org> wrote:
> A good error message shouldn't withhold any information that can
> _easily_ be included. Debugging is more art than science, so there is
> no real way to predict what information might prove useful in solving
> the crime. I emphasized "easily" because of course you have to draw the
> line somewhere.
Emphasis on "easily" is correct here. How easy is it to report the
value of something that could be arbitrarily large?
ChrisA
More information about the Python-list
mailing list