[pypy-commit] pypy stm-thread-2: Use 'try' here, which is more compatible (but may hide for now the same

arigo noreply at buildbot.pypy.org
Tue Dec 11 15:54:21 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-thread-2
Changeset: r59400:25b01bf4fb19
Date: 2012-12-11 15:53 +0100
http://bitbucket.org/pypy/pypy/changeset/25b01bf4fb19/

Log:	Use 'try' here, which is more compatible (but may hide for now the
	same issue that we had in strtod()).

diff --git a/pypy/rpython/lltypesystem/rffi.py b/pypy/rpython/lltypesystem/rffi.py
--- a/pypy/rpython/lltypesystem/rffi.py
+++ b/pypy/rpython/lltypesystem/rffi.py
@@ -714,7 +714,7 @@
             i -= 1
         return array
     str2charp._annenforceargs_ = [strtype]
-    str2charp._always_inline_ = True
+    str2charp._always_inline_ = 'try'
 
     def free_charp(cp):
         lltype.free(cp, flavor='raw')


More information about the pypy-commit mailing list