This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fossilet
Recipients fossilet, pitrou, r.david.murray, serhiy.storchaka
Date 2014-09-16.08:34:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410856486.29.0.890522723513.issue22379@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2014-09-16 08:34:46fossiletsetrecipients: + fossilet, pitrou, r.david.murray, serhiy.storchaka
2014-09-16 08:34:46fossiletsetmessageid: <1410856486.29.0.890522723513.issue22379@psf.upfronthosting.co.za>
2014-09-16 08:34:46fossiletlinkissue22379 messages
2014-09-16 08:34:46fossiletcreate