Commit 66d1eb23 authored by Stefan Krah's avatar Stefan Krah

Merge 3.2.

parents 28a2ad55 07795df6
...@@ -639,6 +639,8 @@ builtin_compile(PyObject *self, PyObject *args, PyObject *kwds) ...@@ -639,6 +639,8 @@ builtin_compile(PyObject *self, PyObject *args, PyObject *kwds)
mod_ty mod; mod_ty mod;
arena = PyArena_New(); arena = PyArena_New();
if (arena == NULL)
goto error;
mod = PyAST_obj2mod(cmd, arena, mode); mod = PyAST_obj2mod(cmd, arena, mode);
if (mod == NULL) { if (mod == NULL) {
PyArena_Free(arena); PyArena_Free(arena);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment