]> granicus.if.org Git - python/commit
Replace all instances of err.strerror with err.
authorJeremy Hylton <jeremy@alum.mit.edu>
Mon, 8 Oct 2001 20:33:20 +0000 (20:33 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Mon, 8 Oct 2001 20:33:20 +0000 (20:33 +0000)
commiteaa6e3c7123525aa10a5e74c53d7210584e5aecc
treedf169f9e12c296cbf68e9f9b3240668e00c4e9eb
parent168beada91a1cb70ed9186740dd1b689ca448bff
Replace all instances of err.strerror with err.

The strerror attribute contained only partial information about the
exception and produced some very confusing error messages.  By passing
err (the exception object itself) and letting it convert itself to a
string, the error messages are better.
Tools/scripts/trace.py