summaryrefslogtreecommitdiffstats
path: root/Python/initconfig.c
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2022-12-23 08:23:19 (GMT)
committerGitHub <noreply@github.com>2022-12-23 08:23:19 (GMT)
commit84bc6a4f25fcf467813ee12b74118f7b1b54e285 (patch)
treed5ec734fae7968f0073f5769d3575b7173038096 /Python/initconfig.c
parent73c08eeaffadb73184808e462792b6793ce9f82d (diff)
downloadcpython-84bc6a4f25fcf467813ee12b74118f7b1b54e285.zip
cpython-84bc6a4f25fcf467813ee12b74118f7b1b54e285.tar.gz
cpython-84bc6a4f25fcf467813ee12b74118f7b1b54e285.tar.bz2
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.
Diffstat (limited to 'Python/initconfig.c')
0 files changed, 0 insertions, 0 deletions