R. David Murray added the comment: I was going to wonder if the args thing was a bug, but I see that actually it continues the backward-compatibility tradition already established (python3.3):
>>> x = OSError(2, 'No such file or directory', 'abc') >>> str(x) "[Errno 2] No such file or directory: 'abc'" >>> x.args (2, 'No such file or directory') ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20517> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com