Skip to content

bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type#8721

Merged
ambv merged 2 commits intopython:masterfrom
ZackerySpytz:bpo-32745-ctypes-c_wchar_p-embedded-nulls
May 2, 2021
Merged

bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type#8721
ambv merged 2 commits intopython:masterfrom
ZackerySpytz:bpo-32745-ctypes-c_wchar_p-embedded-nulls

Conversation

@ZackerySpytz
Copy link
Contributor

@ZackerySpytz ZackerySpytz commented Aug 10, 2018

Embedded nulls would cause a ValueError to be raised. Thanks go to
Eryk Sun for their analysis.

https://bugs.python.org/issue32745

Embedded nulls would cause a ValueError to be raised. Thanks go to
Eryk Sun for their analysis.
@ZackerySpytz ZackerySpytz force-pushed the bpo-32745-ctypes-c_wchar_p-embedded-nulls branch from 73653ae to 5ecaf25 Compare August 12, 2018 06:28
@tambry
Copy link

tambry commented Jul 14, 2019

Any reason why this is sitting unreviewed? Encountered this issue today.

@jnsnjspr
Copy link

I've also encountered this issue, would be great if the fix could progress..

@ambv ambv merged commit 73766b0 into python:master May 2, 2021
@bedevere-bot
Copy link

@ambv: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington
Copy link
Contributor

Thanks @ZackerySpytz for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @ZackerySpytz for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 2, 2021
…pythonGH-8721)

Embedded nulls would cause a ValueError to be raised. Thanks go to
Eryk Sun for their analysis.

Co-authored-by: Łukasz Langa <[email protected]>
(cherry picked from commit 73766b0)

Co-authored-by: Zackery Spytz <[email protected]>
@bedevere-bot
Copy link

GH-25811 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 2, 2021
…pythonGH-8721)

Embedded nulls would cause a ValueError to be raised. Thanks go to
Eryk Sun for their analysis.

Co-authored-by: Łukasz Langa <[email protected]>
(cherry picked from commit 73766b0)

Co-authored-by: Zackery Spytz <[email protected]>
@bedevere-bot
Copy link

GH-25812 is a backport of this pull request to the 3.9 branch.

ambv pushed a commit that referenced this pull request May 2, 2021
…GH-8721) (#25812)

Embedded nulls would cause a ValueError to be raised. Thanks go to Eryk Sun for their analysis.

Co-authored-by: Łukasz Langa <[email protected]>
(cherry picked from commit 73766b0)

Co-authored-by: Zackery Spytz <[email protected]>
ambv pushed a commit that referenced this pull request May 2, 2021
…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 <[email protected]>
(cherry picked from commit 73766b0)

Co-authored-by: Zackery Spytz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants