Author: Matti Picus <[email protected]>
Branch: buffer-interface
Changeset: r86835:6cebc47b780b
Date: 2016-09-02 09:47 +0300
http://bitbucket.org/pypy/pypy/changeset/6cebc47b780b/

Log:    fix micronumpy test_zjit by adding _attrs_ to the class

diff --git a/pypy/objspace/std/memoryobject.py 
b/pypy/objspace/std/memoryobject.py
--- a/pypy/objspace/std/memoryobject.py
+++ b/pypy/objspace/std/memoryobject.py
@@ -14,6 +14,7 @@
     """Implement the built-in 'memoryview' type as a wrapper around
     an interp-level buffer.
     """
+    _attrs_ = ['buf']
 
     def __init__(self, buf):
         assert isinstance(buf, Buffer)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to