[pypy-commit] extradoc extradoc: another missed encoding case in source files
arigo
pypy.commits at gmail.com
Tue Dec 6 06:21:16 EST 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: extradoc
Changeset: r5760:b4c37569deaa
Date: 2016-12-06 12:21 +0100
http://bitbucket.org/pypy/extradoc/changeset/b4c37569deaa/
Log: another missed encoding case in source files
diff --git a/planning/py3.5/cpython-crashers.rst b/planning/py3.5/cpython-crashers.rst
--- a/planning/py3.5/cpython-crashers.rst
+++ b/planning/py3.5/cpython-crashers.rst
@@ -231,6 +231,12 @@
print(locals()['__class__']) # 42
print(__class__) # but this is a NameError
+* Follow-up on issue #25388: running ``python x.py`` if x.py contains
+ the following bytes...
+
+ * ``b"#\xfd\n"`` => we get a SyntaxError: Non-UTF-8 code
+ * ``b"# coding: utf-8\n#\xfd\n"`` => we get no error!
+
Other issues of "dubious IMHO" status
-------------------------------------
More information about the pypy-commit
mailing list