[Python-Dev] guido@digicool.com

Fredrik Lundh fredrik@pythonware.com
Tue, 17 Jul 2001 09:49:16 +0200

guido wrote:
> But MAL and PaulP don't seem to agree on the semantics of this
> directive

and I don't agree with either of them.  the encoding should
apply to the entire source file, and there are lots of tricky
issues related to source code embedding (e.g. python code
in XML) and encoding-aware transports (e.g. python code
over HTTP) that needs to be covered.

> and I haven't gotten a good answer why we can't do that
> with a magic comment.

probably because we can ;-)

I'm on vacation; assuming neither encodings nor directives will
go into 2.2a1, I prepare a counter-PEP when I have some time
to spare (not today, most likely).