Message174364
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. |
|
Date |
User |
Action |
Args |
2012-10-31 20:15:48 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl, pitrou, ezio.melotti, r.david.murray, neologix, Ramchandra Apte, reingart |
2012-10-31 20:15:48 | terry.reedy | set | messageid: <1351714548.74.0.04928344381.issue16344@psf.upfronthosting.co.za> |
2012-10-31 20:15:48 | terry.reedy | link | issue16344 messages |
2012-10-31 20:15:48 | terry.reedy | create | |
|