mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 10:52:31 +08:00
Annotate pathlib.Path.{owner,group,is_mount} on windows (#13613)
This commit is contained in:
@@ -44,16 +44,6 @@ xml.parsers.expat.XMLParserType.SetReparseDeferralEnabled
|
||||
xml.sax.expatreader.ExpatParser.flush
|
||||
|
||||
|
||||
# =============================================================
|
||||
# Allowlist entries that cannot or should not be fixed; <= 3.11
|
||||
# =============================================================
|
||||
|
||||
# pathlib methods that exist on Windows, but always raise NotImplementedError,
|
||||
# so are omitted from the stub
|
||||
pathlib.Path.is_mount
|
||||
pathlib.WindowsPath.is_mount
|
||||
|
||||
|
||||
# =============================================================
|
||||
# Allowlist entries that cannot or should not be fixed; <= 3.12
|
||||
# =============================================================
|
||||
@@ -63,7 +53,3 @@ crypt
|
||||
nis
|
||||
ossaudiodev
|
||||
spwd
|
||||
|
||||
# pathlib functions that rely on modules that don't exist on Windows
|
||||
pathlib.Path.owner
|
||||
pathlib.Path.group
|
||||
|
||||
@@ -11,16 +11,6 @@ email.utils.getaddresses
|
||||
email.utils.parseaddr
|
||||
|
||||
|
||||
# =============================================================
|
||||
# Allowlist entries that cannot or should not be fixed; <= 3.11
|
||||
# =============================================================
|
||||
|
||||
# pathlib methods that exist on Windows, but always raise NotImplementedError,
|
||||
# so are omitted from the stub
|
||||
pathlib.Path.is_mount
|
||||
pathlib.WindowsPath.is_mount
|
||||
|
||||
|
||||
# =============================================================
|
||||
# Allowlist entries that cannot or should not be fixed; <= 3.12
|
||||
# =============================================================
|
||||
@@ -30,7 +20,3 @@ crypt
|
||||
nis
|
||||
ossaudiodev
|
||||
spwd
|
||||
|
||||
# pathlib functions that rely on modules that don't exist on Windows
|
||||
pathlib.Path.owner
|
||||
pathlib.Path.group
|
||||
|
||||
@@ -25,7 +25,3 @@ crypt
|
||||
nis
|
||||
ossaudiodev
|
||||
spwd
|
||||
|
||||
# pathlib functions that rely on modules that don't exist on Windows
|
||||
pathlib.Path.owner
|
||||
pathlib.Path.group
|
||||
|
||||
@@ -53,16 +53,6 @@ xml.parsers.expat.XMLParserType.SetReparseDeferralEnabled
|
||||
xml.sax.expatreader.ExpatParser.flush
|
||||
|
||||
|
||||
# =============================================================
|
||||
# Allowlist entries that cannot or should not be fixed; <= 3.11
|
||||
# =============================================================
|
||||
|
||||
# pathlib methods that exist on Windows, but always raise NotImplementedError,
|
||||
# so are omitted from the stub
|
||||
pathlib.Path.is_mount
|
||||
pathlib.WindowsPath.is_mount
|
||||
|
||||
|
||||
# =============================================================
|
||||
# Allowlist entries that cannot or should not be fixed; <= 3.12
|
||||
# =============================================================
|
||||
@@ -72,7 +62,3 @@ crypt
|
||||
nis
|
||||
ossaudiodev
|
||||
spwd
|
||||
|
||||
# pathlib functions that rely on modules that don't exist on Windows
|
||||
pathlib.Path.owner
|
||||
pathlib.Path.group
|
||||
|
||||
Reference in New Issue
Block a user