[Python-Dev] Divorcing str and unicode (no more implicitconversions). (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Tue Oct 25 12:26:28 CEST 2005
- Previous message: [Python-Dev] Divorcing str and unicode (no more implicit conversions).
- Next message: [Python-Dev] Divorcing str and unicode (no more implicitconversions).
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
M.-A. Lemburg wrote:
I don't follow you here. The source code encoding is only applied to Unicode literals (you are using string literals in your example). String literals are passed through as-is.
however, for Python 3000, it would be nice if the source-code encoding applied to the entire file (XML-style), rather than just unicode string literals and (hope- fully) comments and docstrings.
- Previous message: [Python-Dev] Divorcing str and unicode (no more implicit conversions).
- Next message: [Python-Dev] Divorcing str and unicode (no more implicitconversions).
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]