-
Notifications
You must be signed in to change notification settings - Fork 422
Add re-add deprecated support for unicode in a variety of APIs #201
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
Fix regressions in support for bytes / unicode in certain APIs pyca#15. Added a check for _text_type, raise a DeprecationWarning and encode the str to utf-8. This should preserve 0.13 API calls. I used the 0.13 test suite with the 0.14 code and made the necessary changes to make 0.13 and 0.14 tests pass.
…cessary repetition from the tests.
1 similar comment
2 similar comments
1 similar comment
2 similar comments
This is merge conflict'd because of a previous patch. |
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.
these seem like an accident :)
OpenSSL/test/test_ssl.py
Outdated
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.
Depre*a*ctionWarning
LGTM save the small things I pointed out. |
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.
warnings is a stdlib module therefore the import should be in the previous block
4 similar comments
Re-add deprecated support for unicode in a variety of APIs.
Update of #189