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 serhiy.storchaka
Recipients raoul_gough_baml, serhiy.storchaka
Date 2016-12-15.10:33:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481798026.31.0.287641936889.issue28925@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps it was added for debugging. Exceptions that don't define own __new__ and __init__ inherit them from BaseException. BaseException constructor saves positional arguments as the args attribute. But not all standard exceptions accept arbitrary number of positional arguments. For example UnicodeEncodeError and UnicodeDecodeError don't work.
History
Date User Action Args
2016-12-15 10:33:46serhiy.storchakasetrecipients: + serhiy.storchaka, raoul_gough_baml
2016-12-15 10:33:46serhiy.storchakasetmessageid: <1481798026.31.0.287641936889.issue28925@psf.upfronthosting.co.za>
2016-12-15 10:33:46serhiy.storchakalinkissue28925 messages
2016-12-15 10:33:46serhiy.storchakacreate