[Python-Dev] Making ascii the default encoding (original) (raw)
M.-A. Lemburg mal at egenix.com
Tue Feb 28 11:23:55 CET 2006
- Previous message: [Python-Dev] Making ascii the default encoding
- Next message: [Python-Dev] str.count is slow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Neal Norwitz wrote:
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.
+1.
-- Marc-Andre Lemburg eGenix.com
Professional Python Services directly from the Source (#1, Feb 28 2006)
Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
- Previous message: [Python-Dev] Making ascii the default encoding
- Next message: [Python-Dev] str.count is slow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]