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 terry.reedy
Recipients Ramchandra Apte, ezio.melotti, georg.brandl, neologix, pitrou, r.david.murray, reingart, terry.reedy
Date 2012-10-31.20:15:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351714548.74.0.04928344381.issue16344@psf.upfronthosting.co.za>
In-reply-to
Content
An additional reason to keep English error messages always is that they are not just printed. They are part of the args tuple attribute of exception objects. Code that processes exception messages could break if the English version is replaced. Doctests are only one example. This consideration suggests that translations, if done at exception creation, should be an optional last member of args or an optional attribute, such as .altmsg. I agree than any change should follow PEP approval.
History
Date User Action Args
2012-10-31 20:15:48terry.reedysetrecipients: + terry.reedy, georg.brandl, pitrou, ezio.melotti, r.david.murray, neologix, Ramchandra Apte, reingart
2012-10-31 20:15:48terry.reedysetmessageid: <1351714548.74.0.04928344381.issue16344@psf.upfronthosting.co.za>
2012-10-31 20:15:48terry.reedylinkissue16344 messages
2012-10-31 20:15:48terry.reedycreate