This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lgautier
Recipients lgautier, mattip, ncoghlan, pitrou, skrah
Date 2019-02-03.03:28:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549164525.65.0.398566215949.issue34778@roundup.psfhosted.org>
In-reply-to
Content
> General support for strides in cast(), i.e. a zero-copy view for
> non-contiguous arrays does not seem possible because buf.ptr is
> moved around. Even NumPy does not support that:

I'd be happy enough with zero-copy `cast()` of f-continguous arrays
along with the parameter `shape`, as this makes interfacing with
orginally-in-FORTRAN C libraries through ctypes or cffi possible
(without having to write a C-extension).
History
Date User Action Args
2019-02-03 03:28:47lgautiersetrecipients: + lgautier, ncoghlan, pitrou, skrah, mattip
2019-02-03 03:28:45lgautiersetmessageid: <1549164525.65.0.398566215949.issue34778@roundup.psfhosted.org>
2019-02-03 03:28:45lgautierlinkissue34778 messages
2019-02-03 03:28:45lgautiercreate