]> granicus.if.org Git - python/commit
bpo-15913: Implement PyBuffer_SizeFromFormat() (GH-13873)
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Tue, 20 Aug 2019 14:46:36 +0000 (11:46 -0300)
committerVictor Stinner <vstinner@redhat.com>
Tue, 20 Aug 2019 14:46:36 +0000 (15:46 +0100)
commit9e66aba99925eebacfe137d9deb0ef1fdbc2d5db
treee9353ac99e9911959aadb9092ae35237ec06b5e2
parent18f8dcfa10d8a858b152d12a9ad8fa83b7e967f0
bpo-15913: Implement PyBuffer_SizeFromFormat() (GH-13873)

Implement PyBuffer_SizeFromFormat() function (previously
documented but not implemented): call struct.calcsize().
Doc/c-api/buffer.rst [changed mode: 0644->0755]
Include/cpython/abstract.h [changed mode: 0644->0755]
Lib/test/test_buffer.py [changed mode: 0644->0755]
Misc/NEWS.d/next/Core and Builtins/2019-06-06-20-52-38.bpo-15913.5Sg5cv.rst [new file with mode: 0644]
Modules/_testcapimodule.c [changed mode: 0644->0755]
Objects/abstract.c [changed mode: 0644->0755]