[New-bugs-announce] [issue3574] compile() cannot decode Latin-1 source encodings

Brett Cannon report at bugs.python.org
Sun Aug 17 02:39:40 CEST 2008


New submission from Brett Cannon <brett at python.org>:

The following leads to a SyntaxError in 3.0:

  compile(b'# coding: latin-1\nu = "\xC7"\n', '<dummy>', 'exec')

That is not the case in Python 2.6.

----------
messages: 71251
nosy: brett.cannon
severity: normal
status: open
title: compile() cannot decode Latin-1 source encodings

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3574>
_______________________________________


More information about the New-bugs-announce mailing list