summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2021-05-02 10:40:01 (GMT)
committerGitHub <noreply@github.com>2021-05-02 10:40:01 (GMT)
commit73766b0341674f3920f4ea86a6f8288b801960f9 (patch)
tree96db30a3f398b097b1bab3849e42563c453746a2 /Misc
parent518f8b5dd50b73499282a1ef02b197af106ad118 (diff)
downloadcpython-73766b0341674f3920f4ea86a6f8288b801960f9.zip
cpython-73766b0341674f3920f4ea86a6f8288b801960f9.tar.gz
cpython-73766b0341674f3920f4ea86a6f8288b801960f9.tar.bz2
bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type (#8721)
Embedded nulls would cause a ValueError to be raised. Thanks go to Eryk Sun for their analysis. Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-08-09-23-47-10.bpo-32745.iQi9hI.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-08-09-23-47-10.bpo-32745.iQi9hI.rst b/Misc/NEWS.d/next/Library/2018-08-09-23-47-10.bpo-32745.iQi9hI.rst
new file mode 100644
index 0000000..e6a60fe
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-08-09-23-47-10.bpo-32745.iQi9hI.rst
@@ -0,0 +1,3 @@
+Fix a regression in the handling of ctypes' :data:`ctypes.c_wchar_p` type:
+embedded null characters would cause a :exc:`ValueError` to be raised. Patch
+by Zackery Spytz.