[Python-checkins] cpython: Issue #20625: Fix compilation issue
victor.stinner
python-checkins at python.org
Tue Feb 18 22:08:17 CET 2014
http://hg.python.org/cpython/rev/5202aca8a673
changeset: 89261:5202aca8a673
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Feb 18 22:07:56 2014 +0100
summary:
Issue #20625: Fix compilation issue
files:
Python/compile.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Python/compile.c b/Python/compile.c
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1532,8 +1532,9 @@
expr_ty annotation, PyObject *names)
{
if (annotation) {
+ PyObject *mangled;
VISIT(c, expr, annotation);
- PyObject *mangled = _Py_Mangle(c->u->u_private, id);
+ mangled = _Py_Mangle(c->u->u_private, id);
if (!mangled)
return -1;
if (PyList_Append(names, mangled) < 0) {
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list