Łukasz Langa <luk...@langa.pl> added the comment: Sound argument. I've prepared a patch for Py3k that adds `args` for all exceptions. Unit tests were modified as to check whether the `args` are set correctly (which helped finding a couple of flaky assertions in the tests themselves :)).
Brett, the code change is trivial. Tests aren't complicated as well. Should this change also be ported to py27-maint? ---------- keywords: +patch nosy: +brett.cannon, lukasz.langa versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0, Python 3.1 Added file: http://bugs.python.org/file18167/issue4686_py3k.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4686> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com