]> granicus.if.org Git - python/commit
Fix an issue in PyTokenizer_RestoreEncoding() which was treating a PyBytes
authorGuido van Rossum <guido@python.org>
Wed, 10 Oct 2007 18:44:39 +0000 (18:44 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 10 Oct 2007 18:44:39 +0000 (18:44 +0000)
commit641591cffe09210b46b8f14b62831a17469995cd
treefeece0fed8c818d81a91a36ebcf02dcb52a539c2
parentfeea0786a2f2d38b99c1867a4e6f53e8e764905b
Fix an issue in PyTokenizer_RestoreEncoding() which was treating a PyBytes
object with PyString calls and not checking errors.  This caused the display
of syntax errors to be deformed.
Parser/tokenizer.c