mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Fix an unnecessary allowlist entry in ssl.pyi (#9776)
This commit is contained in:
@@ -291,11 +291,14 @@ ALERT_DESCRIPTION_UNSUPPORTED_CERTIFICATE: AlertDescription
|
||||
ALERT_DESCRIPTION_UNSUPPORTED_EXTENSION: AlertDescription
|
||||
ALERT_DESCRIPTION_USER_CANCELLED: AlertDescription
|
||||
|
||||
class _ASN1Object(NamedTuple):
|
||||
class _ASN1ObjectBase(NamedTuple):
|
||||
nid: int
|
||||
shortname: str
|
||||
longname: str
|
||||
oid: str
|
||||
|
||||
class _ASN1Object(_ASN1ObjectBase):
|
||||
def __new__(cls, oid: str) -> Self: ...
|
||||
@classmethod
|
||||
def fromnid(cls, nid: int) -> Self: ...
|
||||
@classmethod
|
||||
|
||||
@@ -168,8 +168,7 @@ shutil.rmtree # stubtest doesn't like that we have this as an instance of a cal
|
||||
socketserver.BaseServer.fileno # implemented in derived classes
|
||||
socketserver.BaseServer.get_request # implemented in derived classes
|
||||
socketserver.BaseServer.server_bind # implemented in derived classes
|
||||
ssl.Purpose.__new__ # You cannot override __new__ in NamedTuple and runtime uses namedtuple.
|
||||
ssl._ASN1Object.__new__ # You cannot override __new__ in NamedTuple and runtime uses namedtuple.
|
||||
ssl.Purpose.__new__ # the multiple inheritance confuses mypy
|
||||
(sys.get_int_max_str_digits)? # Added in a patch release, backported to all security branches, but has yet to find its way to all GitHub Actions images
|
||||
sys.implementation # Actually SimpleNamespace but then you wouldn't have convenient attributes
|
||||
(sys.set_int_max_str_digits)? # Added in a patch release, backported to all security branches, but has yet to find its way to all GitHub Actions images
|
||||
|
||||
Reference in New Issue
Block a user