Author: Richard Plangger <[email protected]>
Branch: py3.5
Changeset: r86266:e82a59c7c604
Date: 2016-08-16 12:05 +0200
http://bitbucket.org/pypy/pypy/changeset/e82a59c7c604/
Log: missing argument to operation error
diff --git a/pypy/objspace/std/bytearrayobject.py
b/pypy/objspace/std/bytearrayobject.py
--- a/pypy/objspace/std/bytearrayobject.py
+++ b/pypy/objspace/std/bytearrayobject.py
@@ -507,7 +507,7 @@
hexstring = StringBuilder(length*2)
if length > PY_SIZE_T_MAX/2:
- raise OperationError(space.w_MemoryError)
+ raise OperationError(space.w_MemoryError, space.w_None)
for i in range(length):
if rawaccess:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit