[pypy-commit] pypy bytearray-refactor: Add missing _mixin_ attribute to mixin classes.

aliles noreply at buildbot.pypy.org
Wed Mar 21 12:48:56 CET 2012


Author: Aaron Iles <aaron.iles+bitbucket at gmail.com>
Branch: bytearray-refactor
Changeset: r53867:a3cfcb5962d7
Date: 2012-03-21 22:47 +1100
http://bitbucket.org/pypy/pypy/changeset/a3cfcb5962d7/

Log:	Add missing _mixin_ attribute to mixin classes.

diff --git a/pypy/objspace/std/abstractstring.py b/pypy/objspace/std/abstractstring.py
--- a/pypy/objspace/std/abstractstring.py
+++ b/pypy/objspace/std/abstractstring.py
@@ -5,6 +5,8 @@
 class Mixin_BaseStringMethods(object):
     __slots__ = ()
 
+    _mixin_ = True
+
     def isalnum(w_self, space):
         return w_self._all_true(space, w_self._isalnum)
 


More information about the pypy-commit mailing list