This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients
Date 2006-03-20.09:03:26
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=21627

I still wonder why anybody would want to do that, so I don't
see it as a big problem that it gives an error in 2.4: it
*should* give an error, although not the one it currently gives.

It seems that wigy would expect that the encoding
declaration is ignored, whereas you (nnorwitz) are
suggesting that the UTF-8 default should be ignored. In the
face of ambiguity, refuse the temptation to guess.

So I still think it should give a SyntaxError instead. I'll
attach an alternative patch.
History
Date User Action Args
2007-08-23 14:29:19adminlinkissue1115379 messages
2007-08-23 14:29:19admincreate