Message213435
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') |
|
Date |
User |
Action |
Args |
2014-03-13 18:33:15 | r.david.murray | set | recipients:
+ r.david.murray, richard, georg.brandl, vstinner, larry, Arfrever, python-dev, serhiy.storchaka, vajrasky |
2014-03-13 18:33:15 | r.david.murray | set | messageid: <1394735595.62.0.676887111672.issue20517@psf.upfronthosting.co.za> |
2014-03-13 18:33:15 | r.david.murray | link | issue20517 messages |
2014-03-13 18:33:15 | r.david.murray | create | |
|