[pypy-svn] r73417 - pypy/branch/cpython-extension/pypy/module/cpyext

fijal at codespeak.net fijal at codespeak.net
Mon Apr 5 22:26:33 CEST 2010


Author: fijal
Date: Mon Apr  5 22:26:32 2010
New Revision: 73417

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/getargs.py
Log:
I think this is needed here, does not fix the test though


Modified: pypy/branch/cpython-extension/pypy/module/cpyext/getargs.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/getargs.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/getargs.py	Mon Apr  5 22:26:32 2010
@@ -40,7 +40,7 @@
                     raise OperationError(space.w_TypeError,
                                          space.wrap("wrong type"))
             arr = api.va_get_PyObject_star_star(va_list_p)
-            arr[0] = make_ref(space, w_item)
+            arr[0] = make_ref(space, w_item, borrowed=True)
             register_container(space, w_obj)
             add_borrowed_object(space, arr[0])
         elif c == ':':



More information about the Pypy-commit mailing list