commit | 63674f4b52aa7c2832fec09a026e24cd521e491b | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Fri Apr 20 14:36:47 2012 +0200 |
committer | Martin v. Löwis <martin@v.loewis.de> | Fri Apr 20 14:36:47 2012 +0200 |
tree | 666adcb3196093e019e256d5ab9408df9436ea22 | |
parent | 8e6e0fdb7fee3796df8b578c1311b5e46005f2d9 [diff] |
Issue #14629: Raise SyntaxError in tokenizer.detect_encoding if the first two lines have non-UTF-8 characters without an encoding declaration.