Message213435
| Author |
r.david.murray |
| Recipients |
Arfrever, georg.brandl, larry, python-dev, r.david.murray, richard, serhiy.storchaka, vajrasky, vstinner |
| Date |
2014年03月13日.18:33:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1394735595.62.0.676887111672.issue20517@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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') |
|