[issue2920] Patch to print symbolic value or errno in EnvironmentError.__str__()
Amaury Forgeot d'Arc
report at bugs.python.org
Fri May 28 14:06:12 CEST 2010
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
I don't like the "import errno" while printing an exception...
It would be much more robust to store errorcode_dict in a static variable when python starts, and reuse it directly.
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2920>
_______________________________________
More information about the Python-bugs-list
mailing list