Skip to content

Commit 8298d67

Browse files
committed
update NEWS entry
1 parent 9b19822 commit 8298d67

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Fix an undefined behavior in :class:`memoryview` when using the native
2-
boolean format (``?``) in :meth:`~memoryview.cast`. Previously, calling
3-
``memoryview(b).cast("?").tolist()`` incorrectly returned ``[False]``
4-
instead of ``[True]`` for any even byte *b*. Patch by Bénédikt Tran.
2+
boolean format (``?``) in :meth:`~memoryview.cast`. Previously, on some
3+
common platforms, calling ``memoryview(b).cast("?").tolist()`` incorrectly
4+
returned ``[False]`` instead of ``[True]`` for any even byte *b*.
5+
Patch by Bénédikt Tran.

0 commit comments

Comments
 (0)