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

xoraxax at codespeak.net xoraxax at codespeak.net
Tue Apr 6 16:25:40 CEST 2010


Author: xoraxax
Date: Tue Apr  6 16:25:39 2010
New Revision: 73457

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/pyobject.py
Log:
Running tests is overrated.

Modified: pypy/branch/cpython-extension/pypy/module/cpyext/pyobject.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/pyobject.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/pyobject.py	Tue Apr  6 16:25:39 2010
@@ -138,7 +138,7 @@
         if ref != ref_type:
             w_type = from_ref(space, ref_type, True)
             if space.is_w(w_type, space.w_str):
-                return force_string(space, ref, True)
+                return force_string(space, ref)
             elif space.is_w(w_type, space.w_type):
                 PyPyType_Ready(space, rffi.cast(PyTypeObjectPtr, ref), None)
                 return from_ref(space, ref, True)



More information about the Pypy-commit mailing list