Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r72427:9d88ecc3ead2
Date: 2014-07-12 14:47 -0700
http://bitbucket.org/pypy/pypy/changeset/9d88ecc3ead2/

Log:    restore bytes/memoryview operations

diff --git a/pypy/objspace/std/bytesobject.py b/pypy/objspace/std/bytesobject.py
--- a/pypy/objspace/std/bytesobject.py
+++ b/pypy/objspace/std/bytesobject.py
@@ -428,9 +428,7 @@
 
     @staticmethod
     def _use_rstr_ops(space, w_other):
-        from pypy.objspace.std.unicodeobject import W_UnicodeObject
-        return (isinstance(w_other, W_BytesObject) or
-                isinstance(w_other, W_UnicodeObject))
+        return True
 
     @staticmethod
     def _op_val(space, w_other):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to