[pypy-svn] r48930 - pypy/dist/pypy/rpython/lltypesystem/module
arigo at codespeak.net
arigo at codespeak.net
Thu Nov 22 17:14:06 CET 2007
Author: arigo
Date: Thu Nov 22 17:14:06 2007
New Revision: 48930
Modified:
pypy/dist/pypy/rpython/lltypesystem/module/ll_math.py
Log:
This is sandboxsafe. I think it incidentally fixes the ValueError
crashes of threaded pypy-c's, but I'm working on a proper fix.
Modified: pypy/dist/pypy/rpython/lltypesystem/module/ll_math.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/module/ll_math.py (original)
+++ pypy/dist/pypy/rpython/lltypesystem/module/ll_math.py Thu Nov 22 17:14:06 2007
@@ -9,7 +9,8 @@
sandboxsafe=True)
math_modf = rffi.llexternal('modf', [rffi.DOUBLE, rffi.DOUBLEP], rffi.DOUBLE,
sandboxsafe=True)
-math_ldexp = rffi.llexternal('ldexp', [rffi.DOUBLE, rffi.INT], rffi.DOUBLE)
+math_ldexp = rffi.llexternal('ldexp', [rffi.DOUBLE, rffi.INT], rffi.DOUBLE,
+ sandboxsafe=True)
unary_math_functions = [
'acos', 'asin', 'atan', 'ceil', 'cos', 'cosh', 'exp', 'fabs',
More information about the pypy-svn
mailing list