summaryrefslogtreecommitdiff
path: root/Lib/test/test_enum.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-07-27 16:58:47 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-07-27 16:58:47 +0200
commite33797b686d764014aeaf80d7b4cb24863d238d9 (patch)
tree128f18a0449e8b96979e9f84999804c8dd75c19c /Lib/test/test_enum.py
parent25539b089f24f78446d276360602a7beff11a4d7 (diff)
downloadcpython-git-e33797b686d764014aeaf80d7b4cb24863d238d9.tar.gz
ctypes: fix CThunkObject_new()
* Initialize restype and flags fields to fix a crash when Python runs on a read-only file system * Use Py_ssize_t type rather than int for the "i" iterator variable * Reorder assignements to be able to more easily check if all fields are initialized Issue #11048. Initial patch written by Marcin Bachry.
Diffstat (limited to 'Lib/test/test_enum.py')
0 files changed, 0 insertions, 0 deletions