We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b19822 commit 8298d67Copy full SHA for 8298d67
1 file changed
Misc/NEWS.d/next/Core_and_Builtins/2026-04-12-17-27-28.gh-issue-148390.MAhw7F.rst
@@ -1,4 +1,5 @@
1
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.
+boolean format (``?``) in :meth:`~memoryview.cast`. Previously, on some
+common platforms, calling ``memoryview(b).cast("?").tolist()`` incorrectly
+returned ``[False]`` instead of ``[True]`` for any even byte *b*.
5
+Patch by Bénédikt Tran.
0 commit comments