summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-05-02 11:03:23 (GMT)
committerGitHub <noreply@github.com>2021-05-02 11:03:23 (GMT)
commitdb3ce79469ce9f8168ea4ac3e186be8e3fe44105 (patch)
tree71b8cde7416afeb2f9040503a8ac9afb9e00f45c /Misc/NEWS.d/next/Library
parent78e55888ab379cc61c0b5db67f0b881e526628d2 (diff)
downloadcpython-db3ce79469ce9f8168ea4ac3e186be8e3fe44105.zip
cpython-db3ce79469ce9f8168ea4ac3e186be8e3fe44105.tar.gz
cpython-db3ce79469ce9f8168ea4ac3e186be8e3fe44105.tar.bz2
bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type (GH-8721) (#25811)
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> (cherry picked from commit 73766b0341674f3920f4ea86a6f8288b801960f9) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-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.