[pypy-svn] r8993 - pypy/dist/pypy/objspace/std
pedronis at codespeak.net
pedronis at codespeak.net
Tue Feb 8 16:20:21 CET 2005
Author: pedronis
Date: Tue Feb 8 16:20:21 2005
New Revision: 8993
Modified:
pypy/dist/pypy/objspace/std/model.py
pypy/dist/pypy/objspace/std/multimethod.py
pypy/dist/pypy/objspace/std/objspace.py
Log:
make translate_pypy -no-a answer 42 again after the multimethod code changes.
There are probably more things not used at runtime that could be marked NOT_RPYTHON.
These are the minimal stuff that was needed to make translate_pypy -no-a complete again.
Modified: pypy/dist/pypy/objspace/std/model.py
==============================================================================
--- pypy/dist/pypy/objspace/std/model.py (original)
+++ pypy/dist/pypy/objspace/std/model.py Tue Feb 8 16:20:21 2005
@@ -10,6 +10,7 @@
class StdTypeModel:
def __init__(self):
+ """NOT_RPYTHON: inititialization only"""
# All the Python types that we want to provide in this StdObjSpace
class result:
from pypy.objspace.std.objecttype import object_typedef
Modified: pypy/dist/pypy/objspace/std/multimethod.py
==============================================================================
--- pypy/dist/pypy/objspace/std/multimethod.py (original)
+++ pypy/dist/pypy/objspace/std/multimethod.py Tue Feb 8 16:20:21 2005
@@ -76,6 +76,7 @@
return True
def signatures(self):
+ """NOT_RPYTHON"""
result = []
def enum_keys(types_so_far, node):
for type, subnode in node.items():
Modified: pypy/dist/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/dist/pypy/objspace/std/objspace.py (original)
+++ pypy/dist/pypy/objspace/std/objspace.py Tue Feb 8 16:20:21 2005
@@ -87,6 +87,7 @@
self.sys.setbuiltinmodule(w_exceptions, 'exceptions')
def setup_exceptions(self, for_builtins):
+ """NOT_RPYTHON"""
## hacking things in
from pypy.module import exceptionsinterp as ex
def call(w_type, w_args):
More information about the Pypy-commit
mailing list