summaryrefslogtreecommitdiff
path: root/Python/pyarena.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pyarena.c')
-rw-r--r--Python/pyarena.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/pyarena.c b/Python/pyarena.c
index 24a7374300..f11a90546b 100644
--- a/Python/pyarena.c
+++ b/Python/pyarena.c
@@ -171,7 +171,10 @@ PyArena_Free(PyArena *arena)
*/
#endif
block_free(arena->a_head);
+ /* This property normally holds, except when the code being compiled
+ is sys.getobjects(0), in which case there will be two references.
assert(arena->a_objects->ob_refcnt == 1);
+ */
/* Clear all the elements from the list. This is necessary
to guarantee that they will be DECREFed. */