[issue15815] Add numerator to ZeroDivisionError messages

Terry J. Reedy report at bugs.python.org
Wed Aug 29 23:32:21 CEST 2012


Terry J. Reedy added the comment:

In case the value of the numerator helps find out why the denominator is 0. The example given by Mike Graham on python-ideas, Verbose traceback formatting was

def f(a):
    x = a * 4
    y = a - 4
    return x / y

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15815>
_______________________________________


More information about the Python-bugs-list mailing list