diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-21 21:05:50 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-21 21:05:50 (GMT) |
commit | ed4c71112a07a2adad9cb26b9b2d790725443b1f (patch) | |
tree | 47aa9e30f13c350eea5f9b51165d99e67b649bea /Misc | |
parent | 441cc01e0f172599d544a18a3fe8ad08a9dd633a (diff) | |
download | cpython-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/NEWS | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 ------- |