[pypy-commit] pypy kill-multimethod: Fix two errors from the merge.

mjacob noreply at buildbot.pypy.org
Tue Oct 21 16:48:20 CEST 2014


Author: Manuel Jacob <me at manueljacob.de>
Branch: kill-multimethod
Changeset: r74042:a5b4756238d7
Date: 2014-10-21 16:50 +0200
http://bitbucket.org/pypy/pypy/changeset/a5b4756238d7/

Log:	Fix two errors from the merge.

diff --git a/pypy/objspace/std/strbufobject.py b/pypy/objspace/std/strbufobject.py
--- a/pypy/objspace/std/strbufobject.py
+++ b/pypy/objspace/std/strbufobject.py
@@ -2,7 +2,8 @@
 
 import py
 
-from pypy.objspace.std.bytesobject import W_AbstractBytesObject, W_BytesObject
+from pypy.objspace.std.bytesobject import (W_AbstractBytesObject,
+    W_BytesObject, StringBuffer)
 from pypy.interpreter.gateway import interp2app, unwrap_spec
 from rpython.rlib.rstring import StringBuilder
 
diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py
--- a/pypy/objspace/std/typeobject.py
+++ b/pypy/objspace/std/typeobject.py
@@ -1236,6 +1236,8 @@
                               overridetypedef=overridetypedef)
         if typedef is not overridetypedef:
             w_type.w_doc = space.wrap(typedef.doc)
+        if hasattr(typedef, 'flag_sequence_bug_compat'):
+            w_type.flag_sequence_bug_compat = typedef.flag_sequence_bug_compat
         w_type.lazyloaders = lazyloaders
         return w_type
 


More information about the pypy-commit mailing list