[Python-checkins] cpython (3.4): Issue #20625: Fix compilation issue

larry.hastings python-checkins at python.org
Mon Mar 17 07:32:04 CET 2014


http://hg.python.org/cpython/rev/3bced76d2706
changeset: 89728:3bced76d2706
branch: 3.4
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

AltStyle によって変換されたページ (->オリジナル) /