]> granicus.if.org Git - python/commit
Remove filename variable from ceval.c
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 21 Feb 2011 21:05:50 +0000 (21:05 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 21 Feb 2011 21:05:50 +0000 (21:05 +0000)
commited4c71112a07a2adad9cb26b9b2d790725443b1f
tree47aa9e30f13c350eea5f9b51165d99e67b649bea
parent441cc01e0f172599d544a18a3fe8ad08a9dd633a
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.
Misc/NEWS
Python/ceval.c