-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-37571: Add 'b' to prevent the TypeError exception. #14721
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
You're right. Thanks a lot for reviewing this. |
Thanks @mangrisano for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
Co-Authored-By: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit 6b92958) Co-authored-by: Michele Angrisano <michele.angrisano@gmail.com>
GH-14762 is a backport of this pull request to the 3.8 branch. |
Co-Authored-By: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit 6b92958) Co-authored-by: Michele Angrisano <michele.angrisano@gmail.com>
GH-14763 is a backport of this pull request to the 3.7 branch. |
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
In Python3 is not be able to assign a str to a c_char_p, so the 'b' is essential to prevent the TypeError exception.
https://bugs.python.org/issue37571