summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-02-21 21:05:50 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-02-21 21:05:50 (GMT)
commited4c71112a07a2adad9cb26b9b2d790725443b1f (patch)
tree47aa9e30f13c350eea5f9b51165d99e67b649bea /Misc
parent441cc01e0f172599d544a18a3fe8ad08a9dd633a (diff)
downloadcpython-ed4c71112a07a2adad9cb26b9b2d790725443b1f.zip
cpython-ed4c71112a07a2adad9cb26b9b2d790725443b1f.tar.gz
cpython-ed4c71112a07a2adad9cb26b9b2d790725443b1f.tar.bz2
Remove filename variable from ceval.c
Issue #11168: Remove filename debug variable from PyEval_EvalFrameEx(). It encoded the Unicode filename to UTF-8, but the encoding fails on undecodable filename (on surrogate characters) which raises an unexpected UnicodeEncodeError on recursion limit.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS7
1 files changed, 6 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 64d4bbc..7b55d20 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,12 +10,17 @@ What's New in Python 3.3 Alpha 1?
Core and Builtins
-----------------
-- Check for NULL result in PyType_FromSpec.
+- Issue #11168: Remove filename debug variable from PyEval_EvalFrameEx().
+ It encoded the Unicode filename to UTF-8, but the encoding fails on
+ undecodable filename (on surrogate characters) which raises an unexpected
+ UnicodeEncodeError on recursion limit.
- Issue #11187: Remove bootstrap code (use ASCII) of
PyUnicode_AsEncodedString(), it was replaced by a better fallback (use the
locale encoding) in PyUnicode_EncodeFSDefault().
+- Check for NULL result in PyType_FromSpec.
+
Library
-------