Author: Alex Gaynor <[email protected]>
Branch: kill-single-impl-multimethods
Changeset: r46303:096c49f6a237
Date: 2011-08-05 20:09 -0700
http://bitbucket.org/pypy/pypy/changeset/096c49f6a237/

Log:    Obscure hack that's needed.

diff --git a/pypy/objspace/std/bytearraytype.py 
b/pypy/objspace/std/bytearraytype.py
--- a/pypy/objspace/std/bytearraytype.py
+++ b/pypy/objspace/std/bytearraytype.py
@@ -425,6 +425,10 @@
     w_bytearray1.data += space.bufferstr_new_w(w_iterable2)
     return w_bytearray1
 
+def inplace_add__Bytearray_Bytearray(space, w_bytearray1, w_bytearray2):
+    w_bytearray1.data += w_bytearray2.data
+    return w_bytearray1
+
 def mul_bytearray_times(space, w_bytearray, w_times):
     try:
         times = space.getindex_w(w_times, space.w_OverflowError)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to