[Python-Dev] #pragmas in Python source code

Paul Prescod paul@prescod.net
Tue, 18 Apr 2000 09:58:08 -0500


"M.-A. Lemburg" wrote:
> 
> ...
> The current need for #pragmas is really very simple: to tell
> the compiler which encoding to assume for the characters
> in u"...strings..." (*not* "...8-bit strings..."). The idea
> behind this is that programmers should be able to use other
> encodings here than the default "unicode-escape" one.

I'm totally confused about this. Are we going to allow UCS-2 sequences
in the middle of Python programs that are otherwise ASCII?

-- 
 Paul Prescod  - ISOGEN Consulting Engineer speaking for himself