PEP-0263 and default encoding

Klaus Alexander Seistrup spam at
Tue Sep 30 07:39:40 CEST 2003

John Roth wrote:

> Remember that the actual Python program has to be in ASCII -
> only the text in string literals can be in different character
> sets. I'm not sure about comments.

Python barfs if there are non-ASCII characters in comments and there
is no coding-line.

Still beats me why it doesn't use the sys.getdefaultencoding() instead
of inconveniencing me.

  // Klaus

 ><> 	unselfish actions pay back better

More information about the Python-list mailing list