Message226923
| Author |
r.david.murray |
| Recipients |
fossilet, pitrou, r.david.murray, serhiy.storchaka |
| Date |
2014年09月15日.15:41:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1410795668.82.0.00154364448966.issue22379@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The str of the exception will always be nonblank (it will contain the string 'TypeError' at a minimum). So you need to peel off the 'TypeError:' prefix before testing if you want to use str(e). That's why I suggested using args[0], but I suppose that might be a little more fragile. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年09月15日 15:41:08 | r.david.murray | set | recipients:
+ r.david.murray, pitrou, fossilet, serhiy.storchaka |
| 2014年09月15日 15:41:08 | r.david.murray | set | messageid: <1410795668.82.0.00154364448966.issue22379@psf.upfronthosting.co.za> |
| 2014年09月15日 15:41:08 | r.david.murray | link | issue22379 messages |
| 2014年09月15日 15:41:08 | r.david.murray | create |
|