Skip to content

bpo-19865: ctypes.create_unicode_buffer() fails on non-BMP strings on Windows#14081

Merged
vstinner merged 2 commits into
python:masterfrom
ZackerySpytz:bpo-19865-create_unicode_buffer-win
Jun 14, 2019
Merged

bpo-19865: ctypes.create_unicode_buffer() fails on non-BMP strings on Windows#14081
vstinner merged 2 commits into
python:masterfrom
ZackerySpytz:bpo-19865-create_unicode_buffer-win

Conversation

@ZackerySpytz

@ZackerySpytz ZackerySpytz commented Jun 14, 2019

Copy link
Copy Markdown
Contributor

The unit test is based on some of the tests in test_unicode.py that check for sizeof(c_wchar) == 2.

https://bugs.python.org/issue19865

Comment thread Lib/ctypes/__init__.py
Comment thread Lib/ctypes/test/test_buffers.py Outdated
Comment thread Misc/NEWS.d/next/Library/2019-06-14-08-30-16.bpo-19865.FRGH4I.rst Outdated
@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@ZackerySpytz

Copy link
Copy Markdown
Contributor Author

Thank you, @vstinner, for the review.

I have made the requested changes; please review again.

@bedevere-bot

Copy link
Copy Markdown

Thanks for making the requested changes!

@vstinner: please review the changes made to this pull request.

@miss-islington

Copy link
Copy Markdown
Contributor

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

@miss-islington

Copy link
Copy Markdown
Contributor

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

@bedevere-bot

Copy link
Copy Markdown

GH-14087 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 14, 2019
… Windows (pythonGH-14081)

(cherry picked from commit 9765efc)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 14, 2019
… Windows (pythonGH-14081)

(cherry picked from commit 9765efc)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

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

miss-islington added a commit that referenced this pull request Jun 14, 2019
… Windows (GH-14081)

(cherry picked from commit 9765efc)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
miss-islington added a commit that referenced this pull request Jun 14, 2019
… Windows (GH-14081)

(cherry picked from commit 9765efc)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
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.

5 participants