Antoine Pitrou added the comment: (my initial intuition here was to use memoryview.cast() but it doesn't support non-native formats) ---------- nosy: +skrah _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17804> _______________________________________