diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2012-04-20 12:36:47 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2012-04-20 12:36:47 (GMT) |
commit | 63674f4b52aa7c2832fec09a026e24cd521e491b (patch) | |
tree | 666adcb3196093e019e256d5ab9408df9436ea22 /Misc/NEWS | |
parent | 8e6e0fdb7fee3796df8b578c1311b5e46005f2d9 (diff) | |
download | cpython-63674f4b52aa7c2832fec09a026e24cd521e491b.zip cpython-63674f4b52aa7c2832fec09a026e24cd521e491b.tar.gz cpython-63674f4b52aa7c2832fec09a026e24cd521e491b.tar.bz2 |
Issue #14629: Raise SyntaxError in tokenizer.detect_encoding
if the first two lines have non-UTF-8 characters without an encoding declaration.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -47,6 +47,9 @@ Core and Builtins Library ------- +- Issue #14629: Raise SyntaxError in tokenizer.detect_encoding if the + first two lines have non-UTF-8 characters without an encoding declaration. + - Issue #14308: Fix an exception when a "dummy" thread is in the threading module's active list after a fork(). |