]> granicus.if.org Git - python/commit
Latin-1 source code was not being properly decoded when passed through
authorBrett Cannon <bcannon@gmail.com>
Fri, 17 Oct 2008 03:38:50 +0000 (03:38 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 17 Oct 2008 03:38:50 +0000 (03:38 +0000)
commitda780432378e6298463889557ab43e0c156758cd
treedc622a9b62874851f90abc45524d3d2653cab9ba
parent9e9dcd6d4225faa6a8b19120f009e0253d16ab92
Latin-1 source code was not being properly decoded when passed through
compile(). This was due to left-over special-casing before UTF-8 became the
default source encoding.

Closes issue #3574. Thanks to Victor Stinner for help with the patch.
Lib/test/test_pep3120.py
Misc/NEWS
Parser/tokenizer.c
Parser/tokenizer.h
Python/ast.c