diff --git a/Python/compile.c b/Python/compile.c index f02c81acd63..d81fef30028 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -2323,7 +2323,7 @@ compiler_nameop(struct compiler *c, identifier name, expr_context_ty ctx) return compiler_error(c, "can not assign to __debug__"); } -mangled = _Py_Mangle(c->u->u_private, name); + mangled = _Py_Mangle(c->u->u_private, name); if (!mangled) return 0; diff --git a/Python/peephole.c b/Python/peephole.c index 286ac29b39f..430f93938ac 100644 --- a/Python/peephole.c +++ b/Python/peephole.c @@ -317,7 +317,7 @@ PyCode_Optimize(PyObject *code, PyObject* consts, PyObject *names, if (codestr == NULL) goto exitUnchanged; codestr = (unsigned char *)memcpy(codestr, - PyString_AS_STRING(code), codelen); + PyString_AS_STRING(code), codelen); /* Verify that RETURN_VALUE terminates the codestring. This allows the various transformation patterns to look ahead several