[Python-Dev] Making ascii the default encoding

Neal Norwitz nnorwitz at gmail.com
Tue Feb 28 00:35:58 CET 2006

PEP 263 states that in Phase 2 the default encoding will be set to
ASCII.  Although the PEP is marked final, this isn't actually
implemented.  The warning about using non-ASCII characters started in
2.3.  Does anyone think we shouldn't enforce the default being ASCII?

This means if an # -*- coding: ... -*- is not set and non-ASCII
characters are used, an error will be generated.


More information about the Python-Dev mailing list