I got motivated and implemented parts of subtypes on ndarray in the ndarray-subtype branch.
This page
http://docs.scipy.org/doc/numpy/user/basics.subclassing.html
describes the numpy way, so I did
ndarray.view(subtype)
as well, but I did not yet do the slice (they call it template) nor did I do __array_finalize__

Failing tests and patches are welcome

Matti
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to