Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

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 <lukasz@langa.pl>
(cherry picked from commit 73766b0)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
@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 <lukasz@langa.pl>
(cherry picked from commit 73766b0)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label May 2, 2021
@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 <lukasz@langa.pl>
(cherry picked from commit 73766b0)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
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 <lukasz@langa.pl>
(cherry picked from commit 73766b0)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
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