diff options
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 968e788..27bf12d 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -162,7 +162,6 @@ Features and the view is read-only. (Contributed by Antoine Pitrou in :issue:`13411`) - * Arbitrary slicing of any 1-D arrays type is supported. For example, it is now possible to reverse a memoryview in O(1) by using a negative step. @@ -178,6 +177,12 @@ API changes now returns an integer (in accordance with the struct module syntax). For returning a bytes object the view must be cast to 'c' first. +* memoryview comparisons now use the logical structure of the operands + and compare all array elements by value. All format strings in struct + module syntax are supported. Views with unrecognised format strings + are still permitted, but will always compare as unequal, regardless + of view contents. + * For further changes see `Build and C API Changes`_ and `Porting C code`_ . .. _pep-393: |