Skip to content

Commit b158ccd

Browse files
authored
Add errno.ENOTCAPABLE (#14748)
1 parent 15bc02e commit b158ccd

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

stdlib/@tests/stubtest_allowlists/darwin-py311.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,11 @@ _msi
2929
msilib(.[a-z]+)?
3030
ossaudiodev
3131
spwd
32+
33+
34+
# ================
35+
# Unclear problems
36+
# ================
37+
38+
# Added in 3.11.1, flagged by stubtest on Python < 3.14 for unknown reasons
39+
errno.ENOTCAPABLE

stdlib/@tests/stubtest_allowlists/darwin-py312.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@ _msi
1717
msilib(.[a-z]+)?
1818
ossaudiodev
1919
spwd
20+
21+
22+
# ================
23+
# Unclear problems
24+
# ================
25+
26+
# Added in 3.11.1, flagged by stubtest on Python < 3.14 for unknown reasons
27+
errno.ENOTCAPABLE

stdlib/@tests/stubtest_allowlists/darwin-py313.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,11 @@
33
# =======
44

55
(mmap.MAP_32BIT)? # Exists locally on MacOS but not on GitHub
6+
7+
8+
# ================
9+
# Unclear problems
10+
# ================
11+
12+
# Added in 3.11.1, flagged by stubtest on Python < 3.14 for unknown reasons
13+
errno.ENOTCAPABLE

stdlib/errno.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ if sys.platform == "darwin":
121121
ESHLIBVERS: Final[int]
122122
if sys.version_info >= (3, 11):
123123
EQFULL: Final[int]
124+
ENOTCAPABLE: Final[int] # available starting with 3.11.1
124125

125126
if sys.platform != "darwin":
126127
EDEADLOCK: Final[int]

0 commit comments

Comments
 (0)