]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126937: ctypes: fix TypeError when a field's size is >65535 bytes (GH-126938)
authorMelissa0x1f992 <70096546+Melissa0x1f992@users.noreply.github.com>
Tue, 10 Dec 2024 12:13:11 +0000 (06:13 -0600)
committerGitHub <noreply@github.com>
Tue, 10 Dec 2024 12:13:11 +0000 (13:13 +0100)
commitcef0a90d8f3a94aa534593f39b4abf98165675b9
treed29f59f3ea102d6b0dfeea33806c05bbcc8a3c04
parentf4b31edf2d9d72878dab1f66a36913b5bcc848ec
gh-126937: ctypes: fix TypeError when a field's size is >65535 bytes (GH-126938)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Lib/test/test_ctypes/test_struct_fields.py
Misc/NEWS.d/next/Core_and_Builtins/2024-11-17-21-35-55.gh-issue-126937.qluVM0.rst [new file with mode: 0644]
Modules/_ctypes/cfield.c
Modules/_ctypes/stgdict.c