[issue34778] Memoryview for column-major (f_contiguous) arrays from bytes impossible to achieve

Stefan Krah report at bugs.python.org
Tue Jan 29 08:57:32 EST 2019


Stefan Krah <stefan at bytereef.org> added the comment:

CC Antoine and Nick.

I think we can do it, but we'd need cast(shape=[2,3], order='F')
to allow casting back.

The only practical objections are feature creep. To preserve
symmetry with tobytes(), we'd need to add tobytes('F') (and
tobytes('A')).

----------
nosy: +ncoghlan, pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34778>
_______________________________________


More information about the Python-bugs-list mailing list