Author: Armin Rigo <[email protected]>
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')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit