[pypy-svn] r28132 - in pypy/dist/pypy: rpython/lltypesystem/module translator/c

nik at codespeak.net nik at codespeak.net
Sat Jun 3 10:36:38 CEST 2006

Author: nik
Date: Sat Jun  3 10:36:37 2006
New Revision: 28132

in genc's extfunc use the ll helpers from lltypesystem ll_os. this fixes
some more tests ...

Modified: pypy/dist/pypy/rpython/lltypesystem/module/ll_os.py
--- pypy/dist/pypy/rpython/lltypesystem/module/ll_os.py	(original)
+++ pypy/dist/pypy/rpython/lltypesystem/module/ll_os.py	Sat Jun  3 10:36:37 2006
@@ -1,5 +1,6 @@
 import os
 from pypy.rpython.module.support import from_rstr, to_rstr
+from pypy.rpython.module.ll_os import *
 def ll_os_open(fname, flag, mode):
     return os.open(from_rstr(fname), flag, mode)

Modified: pypy/dist/pypy/translator/c/extfunc.py
--- pypy/dist/pypy/translator/c/extfunc.py	(original)
+++ pypy/dist/pypy/translator/c/extfunc.py	Sat Jun  3 10:36:37 2006
@@ -5,8 +5,9 @@
 from pypy.rpython.lltypesystem.rstr import STR
 from pypy.rpython.lltypesystem import rstr
 from pypy.rpython.lltypesystem import rlist
-from pypy.rpython.module import ll_os, ll_time, ll_math, ll_strtod
+from pypy.rpython.module import ll_time, ll_math, ll_strtod
 from pypy.rpython.module import ll_stackless, ll_stack
+from pypy.rpython.lltypesystem.module import ll_os
 from pypy.module.thread.rpython import ll_thread
 # table of functions hand-written in src/ll_*.h

More information about the Pypy-commit mailing list