[pypy-commit] pypy default: oups in three files' typedef's acceptable_as_base_class
arigo
noreply at buildbot.pypy.org
Fri May 8 09:23:40 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r77189:1af6d6f8e1e1
Date: 2015-05-08 09:21 +0200
http://bitbucket.org/pypy/pypy/changeset/1af6d6f8e1e1/
Log: oups in three files' typedef's acceptable_as_base_class
diff --git a/pypy/module/_cffi_backend/libraryobj.py b/pypy/module/_cffi_backend/libraryobj.py
--- a/pypy/module/_cffi_backend/libraryobj.py
+++ b/pypy/module/_cffi_backend/libraryobj.py
@@ -91,7 +91,7 @@
read_variable = interp2app(W_Library.read_variable),
write_variable = interp2app(W_Library.write_variable),
)
-W_Library.acceptable_as_base_class = False
+W_Library.typedef.acceptable_as_base_class = False
@unwrap_spec(filename="str_or_None", flags=int)
diff --git a/pypy/module/_hashlib/interp_hashlib.py b/pypy/module/_hashlib/interp_hashlib.py
--- a/pypy/module/_hashlib/interp_hashlib.py
+++ b/pypy/module/_hashlib/interp_hashlib.py
@@ -156,7 +156,7 @@
block_size=GetSetProperty(W_Hash.get_block_size),
name=GetSetProperty(W_Hash.get_name),
)
-W_Hash.acceptable_as_base_class = False
+W_Hash.typedef.acceptable_as_base_class = False
@unwrap_spec(name=str, string='bufferstr')
def new(space, name, string=''):
diff --git a/pypy/module/pypyjit/interp_resop.py b/pypy/module/pypyjit/interp_resop.py
--- a/pypy/module/pypyjit/interp_resop.py
+++ b/pypy/module/pypyjit/interp_resop.py
@@ -245,7 +245,7 @@
WrappedOp.descr_setresult),
offset = interp_attrproperty("offset", cls=WrappedOp),
)
-WrappedOp.acceptable_as_base_class = False
+WrappedOp.typedef.acceptable_as_base_class = False
DebugMergePoint.typedef = TypeDef(
'DebugMergePoint', WrappedOp.typedef,
@@ -266,7 +266,7 @@
doc="Name of the jitdriver 'pypyjit' in the case "
"of the main interpreter loop"),
)
-DebugMergePoint.acceptable_as_base_class = False
+DebugMergePoint.typedef.acceptable_as_base_class = False
class W_JitLoopInfo(W_Root):
@@ -359,7 +359,7 @@
doc="Length of machine code"),
__repr__ = interp2app(W_JitLoopInfo.descr_repr),
)
-W_JitLoopInfo.acceptable_as_base_class = False
+W_JitLoopInfo.typedef.acceptable_as_base_class = False
class W_JitInfoSnapshot(W_Root):
@@ -379,7 +379,7 @@
cls=W_JitInfoSnapshot,
doc="various JIT timers")
)
-W_JitInfoSnapshot.acceptable_as_base_class = False
+W_JitInfoSnapshot.typedef.acceptable_as_base_class = False
def get_stats_snapshot(space):
""" Get the jit status in the specific moment in time. Note that this
More information about the pypy-commit
mailing list