[pypy-commit] pypy py3k: restore bytes/memoryview operations
pjenvey
noreply at buildbot.pypy.org
Sat Jul 12 23:48:50 CEST 2014
Author: Philip Jenvey <pjenvey at 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):
More information about the pypy-commit
mailing list