[Python-3000] Support for PEP 3131
python at zesty.ca
Fri May 25 11:53:09 CEST 2007
On Fri, 25 May 2007, [ISO-8859-1] "Martin v. Löwis" wrote:
> > I think there are things that can be done here, even
> > if we make Python's default mode to be ascii-pure.
> > Regional distros can set the environment
> > appropriately. Python error messages about non-ascii
> > characters can suggest how to enable the -U flag. The
> > Tokyo Python User's Group can educate programmers,
> > etc.
> Yes, but these are all work-arounds for an avoidable ugliness.
You've got the defaults backwards.
If "anything goes" is the default, failures are silent as well as
invisible, and you have no help in recovering from them.
If "ASCII only" is the default, failures produce an error message,
and that error message can guide you to the solution.
More information about the Python-3000