[pypy-svn] r78515 - pypy/trunk/pypy/objspace
fijal at codespeak.net
fijal at codespeak.net
Sat Oct 30 13:31:16 CEST 2010
Author: fijal
Date: Sat Oct 30 13:31:15 2010
New Revision: 78515
Modified:
pypy/trunk/pypy/objspace/descroperation.py
Log:
Make everything newstyle in descroperation
Modified: pypy/trunk/pypy/objspace/descroperation.py
==============================================================================
--- pypy/trunk/pypy/objspace/descroperation.py (original)
+++ pypy/trunk/pypy/objspace/descroperation.py Sat Oct 30 13:31:15 2010
@@ -51,7 +51,7 @@
return space.is_w(w_typ1, w_typ2)
-class Object:
+class Object(object):
def descr__getattribute__(space, w_obj, w_name):
name = space.str_w(w_name)
w_descr = space.lookup(w_obj, name)
@@ -96,7 +96,7 @@
def descr__init__(space, w_obj, __args__):
pass
-class DescrOperation:
+class DescrOperation(object):
_mixin_ = True
def is_data_descr(space, w_obj):
@@ -541,7 +541,7 @@
# what is the maximum value slices can get on CPython?
# we need to stick to that value, because fake.py etc.
-class Temp:
+class Temp(object):
def __getslice__(self, i, j):
return j
slice_max = Temp()[:]
More information about the Pypy-commit
mailing list