[Python-Dev] Divorcing str and unicode (no more implicitconversions). (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Tue Oct 25 20:21:08 CEST 2005
- Previous message: [Python-Dev] Divorcing str and unicode (no more implicitconversions).
- Next message: [Python-Dev] Divorcing str and unicode (no more implicitconversions).
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fredrik Lundh wrote:
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.
As MAL explains, the encoding currently does apply to the entire file. However, because of the Python syntax, you are restricted to ASCII in many places, such as keywords, number literals, and (unfortunately) identifiers. Lifting the restriction on identifiers is on my agenda.
Regards, Martin
- Previous message: [Python-Dev] Divorcing str and unicode (no more implicitconversions).
- Next message: [Python-Dev] Divorcing str and unicode (no more implicitconversions).
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]