diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2016-07-27 14:58:47 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2016-07-27 14:58:47 (GMT) |
| commit | 2e1a34025cde19bddf12a2eac8fedb6afcca8339 (patch) | |
| tree | e169d66ec6007df9c532b7ac4aca602b16b92380 /Lib/test/test_threading_local.py | |
| parent | 2a0438d2e4f023b5edf0fcb27151b6ec4357642e (diff) | |
| download | cpython-2e1a34025cde19bddf12a2eac8fedb6afcca8339.zip cpython-2e1a34025cde19bddf12a2eac8fedb6afcca8339.tar.gz cpython-2e1a34025cde19bddf12a2eac8fedb6afcca8339.tar.bz2 | |
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_threading_local.py')
0 files changed, 0 insertions, 0 deletions
