Message226943
I tested it and find str of an exception does not contain the exception type:
>>> a = TypeError()
>>> str(a)
''
>>> a = TypeError('b', 3)
>>> a.args
('b', 3)
>>> str(a)
"('b', 3)"
Am I missing some other circumstances? |
|
Date |
User |
Action |
Args |
2014-09-16 08:34:46 | fossilet | set | recipients:
+ fossilet, pitrou, r.david.murray, serhiy.storchaka |
2014-09-16 08:34:46 | fossilet | set | messageid: <1410856486.29.0.890522723513.issue22379@psf.upfronthosting.co.za> |
2014-09-16 08:34:46 | fossilet | link | issue22379 messages |
2014-09-16 08:34:46 | fossilet | create | |
|