mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 19:32:13 +08:00
add _ssl module (#11155)
Really all I needed for fixing the inheritance was _ssl._SSLContext. But then I needed all the other stuff in _ssl, and if I was doing that I wanted to do a thorough job of it. Motivation was originally related to https://github.com/python/typeshed/issues/3968 , but we're well beyond that now, really. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -413,7 +413,6 @@ queue.SimpleQueue.__init__
|
||||
imaplib.IMAP4_SSL.ssl
|
||||
ssl.PROTOCOL_SSLv2
|
||||
ssl.PROTOCOL_SSLv3
|
||||
ssl.RAND_egd
|
||||
|
||||
pickle._Pickler\..* # Best effort typing for undocumented internals
|
||||
pickle._Unpickler\..* # Best effort typing for undocumented internals
|
||||
|
||||
@@ -246,6 +246,10 @@ unittest\.test\..+
|
||||
pstats.SortKey.__new__
|
||||
tkinter.EventType.__new__
|
||||
|
||||
# Items that depend on the existence and flags of SSL
|
||||
ssl.RAND_egd
|
||||
_ssl.RAND_egd
|
||||
|
||||
# Incorrectly star import.
|
||||
ctypes._endian.DEFAULT_MODE
|
||||
ctypes._endian.RTLD_GLOBAL
|
||||
|
||||
@@ -229,6 +229,10 @@ types.SimpleNamespace.__init__ # class doesn't accept positional arguments but
|
||||
pstats.SortKey.__new__
|
||||
tkinter.EventType.__new__
|
||||
|
||||
# Items that depend on the existence and flags of SSL
|
||||
ssl.RAND_egd
|
||||
_ssl.RAND_egd
|
||||
|
||||
# Incorrectly star import.
|
||||
ctypes._endian.DEFAULT_MODE
|
||||
ctypes._endian.RTLD_GLOBAL
|
||||
|
||||
Reference in New Issue
Block a user