[pypy-svn] r38558 - pypy/dist/pypy/module/posix

mwh at codespeak.net mwh at codespeak.net
Mon Feb 12 14:11:01 CET 2007


Author: mwh
Date: Mon Feb 12 14:11:00 2007
New Revision: 38558

Modified:
   pypy/dist/pypy/module/posix/__init__.py
Log:
remove os.execv if building with llvm
at least this lets pypy-llvm build again...


Modified: pypy/dist/pypy/module/posix/__init__.py
==============================================================================
--- pypy/dist/pypy/module/posix/__init__.py	(original)
+++ pypy/dist/pypy/module/posix/__init__.py	Mon Feb 12 14:11:00 2007
@@ -87,6 +87,8 @@
         # YYY nor does it anywhere else
         #if config.translating and config.translation.type_system != "lltype":
         #    space.delattr(self, space.wrap("execve"))
+        if config.translating and config.translation.backend == "llvm":
+            space.delattr(self, space.wrap("execv"))
 
 for constant in dir(os):
     value = getattr(os, constant)



More information about the Pypy-commit mailing list