Author: Remi Meier <meier...@student.ethz.ch>
Branch: 
Changeset: r371:1183d4c7518c
Date: 2013-07-08 11:17 +0200
http://bitbucket.org/pypy/stmgc/changeset/1183d4c7518c/

Log:    fix

diff --git a/duhton/glob.c b/duhton/glob.c
--- a/duhton/glob.c
+++ b/duhton/glob.c
@@ -271,7 +271,9 @@
 
 DuObject *du_list(DuObject *cons, DuObject *locals)
 {
+    _du_save2(cons, locals);
     DuObject *list = DuList_New();
+    _du_restore2(cons, locals);
     while (cons != Du_None) {
         _du_read1(cons);
         DuObject *expr = _DuCons_CAR(cons);
@@ -299,7 +301,11 @@
     else
         _du_getargs1("container", cons, locals, &obj);
 
-    return DuContainer_New(obj);
+    _du_save2(cons, locals);
+    DuObject *container = DuContainer_New(obj);
+    _du_restore2(cons, locals);
+
+    return container;
 }
 
 DuObject *du_get(DuObject *cons, DuObject *locals)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to