"Martin v. Loewis" wrote:
"M.-A. Lemburg" firstname.lastname@example.org writes:
In phase 1, the tokenizer checks the complete file for non-ASCII characters and outputs single warning per file if it doesn't find a coding declaration at the top. Unicode literals continue to use [raw-]unicode-escape as codec.
Do you suggest that in this phase, the declared encoding is not used for anything except to complain?
No. This is just an extra step on top of what is proposed in the PEP to make people aware of the problem in phase 1.
-- Marc-Andre Lemburg CEO eGenix.com Software GmbH