mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
![]() gh-76963: PEP3118 itemsize of an empty ctypes array should not be 0 (GH-5576)
The itemsize returned in a memoryview of a ctypes array is now computed from the item type, instead of dividing the total size by the length and assuming that the length is not zero.
(cherry picked from commit
|
||
---|---|---|
.. | ||
macholib | ||
test | ||
__init__.py | ||
_aix.py | ||
_endian.py | ||
util.py | ||
wintypes.py |