ssl.OP_NO_TLSv1_3 is available in 3.6.3+, mask as >= (3, 6)#5013
ssl.OP_NO_TLSv1_3 is available in 3.6.3+, mask as >= (3, 6)#5013srittau merged 2 commits intopython:masterfrom
Conversation
|
https://docs.python.org/3.9/library/ssl.html#ssl.OP_NO_TLSv1_3
The specific case where this came up is code in Trio which accesses |
|
There's the answer. Seems like the change here is correct then. |
stdlib/ssl.pyi
Outdated
| OP_NO_TICKET: int | ||
| if sys.version_info >= (3, 7): | ||
| OP_NO_RENEGOTIATION: int | ||
| if sys.version_info >= (3, 6): |
There was a problem hiding this comment.
There is already a sys.version_info >= (3, 6) guard around the class, so you could probably just remove this guard and move the line to line 141, where it would fit better.
Same for the other change
There was a problem hiding this comment.
Quite so, thank you.
|
If you mark this as "ready for review", I can merge it. |
|
@srittau, sorry. No changelog needed here? |
|
No, typeshed doesn't have a Changelog beyond |
No description provided.