You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ENH] Support F-contiguous memoryviews in cast #91484
However as F-contiguous data is still contiguous and can be viewed in 1-D, it seems possible to support this type of data as well. PickleBuffer's raw method does appear to support both C & F contiguous data. Building off the example above:
This would be useful when interacting with other libraries that work with this kind of data. That said, don't know if there is other context behind the C-contiguous constraint that I may be missing here.
Activity
corona10 commentedon Nov 6, 2022
I am working on this issue.
jamie2779 commentedon Aug 15, 2025
@corona10 I'll try this issue
Merge remote-tracking branch 'upstream/main' into pythongh-91484
pythongh-91484: Address review comments
Merge remote-tracking branch 'upstream/main' into pythongh-91484
gh-91484: Allow memoryview cast for F-contiguous (GH-137803)
pythongh-91484: Allow memoryview cast for F-contiguous (pythonGH-137803)