]> granicus.if.org Git - python/commit
Issue #8966: If a ctypes structure field is an array of c_char, convert its
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 11 Jun 2010 21:50:30 +0000 (21:50 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 11 Jun 2010 21:50:30 +0000 (21:50 +0000)
commitda0eca427aef6c58f3c134c0789f54d7b8fa4210
tree035de9f0ffe1bca76631b3459dab6dc64179ca60
parentcc0cfd357611c69a99841f21affa73e829416789
Issue #8966: If a ctypes structure field is an array of c_char, convert its
value to bytes instead of str (as done for c_char and c_char_p).
Lib/ctypes/test/test_bytes.py
Lib/ctypes/test/test_structures.py
Misc/NEWS
Modules/_ctypes/cfield.c