Stefan Krah added the comment: > Stefan, what do you think about Claudiu's patch? Should a test be added to > test_buffer as well?
I think the patch is good. We can add more tests when (if?) multi-dimensional support is added to memoryview. In that case we should probably do the same as NumPy and return a list of subviews. So testing against tolist() like in the test case will only work for one-dimensional views. I can't commit right now (the machine with my ssh-key won't have Internet access for some time), so if someone has time to do it ... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19078> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com