Message75312
The attached patch works, but can be simplified by using a stack variable:
Index: pythonrun.c
===================================================================
--- pythonrun.c (revision 66902)
+++ pythonrun.c (working copy)
@@ -1284,7 +1290,13 @@
{
PyObject *ret = NULL;
mod_ty mod;
- PyArena *arena = PyArena_New();
+ PyCompilerFlags localflags;
+ PyArena *arena;
+
+ if (flags == NULL)
+ flags = &localflags;
+
+ arena = PyArena_New();
if (arena == NULL)
return NULL; |
|
Date |
User |
Action |
Args |
2008-10-29 08:57:32 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, georg.brandl, benjamin.peterson |
2008-10-29 08:57:31 | amaury.forgeotdarc | set | messageid: <1225270651.92.0.987903083491.issue4225@psf.upfronthosting.co.za> |
2008-10-29 08:57:30 | amaury.forgeotdarc | link | issue4225 messages |
2008-10-29 08:57:29 | amaury.forgeotdarc | create | |
|