Message165916
| Author |
skrah |
| Recipients |
christian.heimes, meador.inge, ncoghlan, pitrou, python-dev, skrah, vstinner |
| Date |
2012年07月20日.12:24:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1342787043.55.0.409704246583.issue12834@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The fix would require all of these functions from memoryview.c (3.3):
last_dim_is_contiguous
cmp_structure
copy_base
copy_rec
copy_buffer
How to avoid code duplication? I could move them into abstract.c,
but conceptually they're really just low level buffer interface
functions. Also, they make a lot of assumptions (ndim >= 1,
PyBUF_FULL) that are a little dangerous for a general interface. |
|