summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-06-11 21:50:30 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-06-11 21:50:30 (GMT)
commitda0eca427aef6c58f3c134c0789f54d7b8fa4210 (patch)
tree035de9f0ffe1bca76631b3459dab6dc64179ca60 /Misc
parentcc0cfd357611c69a99841f21affa73e829416789 (diff)
downloadcpython-da0eca427aef6c58f3c134c0789f54d7b8fa4210.zip
cpython-da0eca427aef6c58f3c134c0789f54d7b8fa4210.tar.gz
cpython-da0eca427aef6c58f3c134c0789f54d7b8fa4210.tar.bz2
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).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 4 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index b7b4f65..1335dbc 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -421,6 +421,9 @@ C-API
Library
-------
+- 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).
+
- Issue #8188: Comparisons between Decimal and Fraction objects are
now permitted, returning a result based on the exact numerical
values of the operands. This builds on issue #2531, which allowed
@@ -1288,7 +1291,7 @@ Extension Modules
-----------------
- Issue #3129: Trailing digits in format string are no longer ignored.
- For example, "1" or "ilib123" are now invalid formats and cause
+ For example, "1" or "ilib123" are now invalid formats and cause
``struct.error`` to be raised.
- Issue #7384: If the system readline library is linked against ncurses,