-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Improved OpenSSL stubs #5645
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
Improved OpenSSL stubs #5645
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.
Thank you. Could you also update the version in METADATA.toml
? I think we should also remove python3 = false
as this package supports Python 3 and the stubs seem fine. A few more remarks below.
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.
Thanks! I noticed one replace error below. Also, please replace Optional[X]
with X | None
(outside type aliases) and update the library version. Apart from that the changes look good.
Fixes #2052.
OpenSSL.SSL
OpenSSL.crypto
_StrLike
and_BytesLike
annotations