Skip to content

Commit 0a4b0e1

Browse files
committed
Split platform-specific allowlists
1 parent 6f0c627 commit 0a4b0e1

4 files changed

Lines changed: 68 additions & 21 deletions

File tree

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# ====================================================================
2+
# TODO: New errors in Python 3.14 that need to be fixed or moved below
3+
# ====================================================================
4+
5+
_curses.assume_default_colors
6+
_posixsubprocess.fork_exec
7+
asyncio.tools
8+
asyncio.unix_events.__all__
9+
asyncio.unix_events.DefaultEventLoopPolicy
10+
asyncio.unix_events._DefaultEventLoopPolicy
11+
ctypes.c_double_complex._type_
12+
ctypes.c_float_complex._type_
13+
ctypes.c_longdouble_complex._type_
14+
multiprocessing.popen_fork.Popen.interrupt
15+
multiprocessing.reduction.ACKNOWLEDGE
16+
posix.readinto
17+
select.EPOLLWAKEUP
18+
19+
120
# =======
221
# >= 3.13
322
# =======
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# ====================================================================
2+
# TODO: New errors in Python 3.14 that need to be fixed or moved below
3+
# ====================================================================
4+
5+
_curses.assume_default_colors
6+
_posixsubprocess.fork_exec
7+
_socket.CAN_RAW_ERR_FILTER
8+
_socket.IPV6_RECVERR
9+
_socket.IP_FREEBIND
10+
_socket.IP_RECVERR
11+
_socket.IP_RECVORIGDSTADDR
12+
_socket.IP_RECVTTL
13+
_socket.SO_ORIGINAL_DST
14+
_socket.VMADDR_CID_LOCAL
15+
asyncio.tools
16+
asyncio.unix_events.__all__
17+
asyncio.unix_events.DefaultEventLoopPolicy
18+
asyncio.unix_events._DefaultEventLoopPolicy
19+
ctypes.c_double_complex._type_
20+
ctypes.c_float_complex._type_
21+
ctypes.c_longdouble_complex._type_
22+
errno.EHWPOISON
23+
multiprocessing.popen_fork.Popen.interrupt
24+
multiprocessing.reduction.ACKNOWLEDGE
25+
os.SCHED_DEADLINE
26+
os.SCHED_NORMAL
27+
posix.SCHED_DEADLINE
28+
posix.SCHED_NORMAL
29+
posix.readinto
30+
select.EPOLLWAKEUP
31+
socket.CAN_RAW_ERR_FILTER
32+
socket.IPV6_RECVERR
33+
socket.IP_FREEBIND
34+
socket.IP_RECVERR
35+
socket.IP_RECVORIGDSTADDR
36+
socket.SO_ORIGINAL_DST
37+
socket.VMADDR_CID_LOCAL

stdlib/@tests/stubtest_allowlists/py314.txt

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,6 @@ _heapq.heappushpop_max
134134
_heapq.heapreplace_max
135135
_imp.pyc_magic_number_token
136136
_posixsubprocess.fork_exec
137-
_socket.CAN_RAW_ERR_FILTER
138-
_socket.IPV6_RECVERR
139-
_socket.IP_FREEBIND
140-
_socket.IP_RECVERR
141-
_socket.IP_RECVORIGDSTADDR
142-
_socket.IP_RECVTTL
143-
_socket.SO_ORIGINAL_DST
144-
_socket.VMADDR_CID_LOCAL
145137
_socket.if_indextoname
146138
_ssl.HAS_PHA
147139
_thread.RLock.locked
@@ -394,7 +386,6 @@ dis.distb
394386
enum.Enum.__signature__
395387
enum.EnumMeta.__signature__
396388
enum.EnumType.__signature__
397-
errno.EHWPOISON
398389
faulthandler.dump_c_stack
399390
fnmatch.__all__
400391
fnmatch.filterfalse
@@ -472,8 +463,6 @@ multiprocessing.process.BaseProcess.interrupt
472463
multiprocessing.reduction.ACKNOWLEDGE
473464
multiprocessing.synchronize.SemLock.locked
474465
os.__all__
475-
os.SCHED_DEADLINE
476-
os.SCHED_NORMAL
477466
os.readinto
478467
pathlib.Path.copy_into
479468
pathlib.Path.copytree
@@ -482,7 +471,6 @@ pathlib.Path.info
482471
pathlib.Path.move
483472
pathlib.Path.move_into
484473
pathlib.Path.rmtree
485-
pathlib.Path,
486474
pathlib.PurePath.is_relative_to
487475
pathlib.PurePath.is_relative_to
488476
pathlib.PurePath.relative_to
@@ -504,8 +492,6 @@ pkgutil.__all__
504492
pkgutil.find_loader
505493
pkgutil.get_loader
506494
platform.invalidate_caches
507-
posix.SCHED_DEADLINE
508-
posix.SCHED_NORMAL
509495
posix.readinto
510496
pstats.FunctionProfile.__annotate_func__
511497
pstats.FunctionProfile.__annotations_cache__
@@ -515,14 +501,7 @@ pyexpat.errors.XML_ERROR_NOT_STARTED
515501
select.EPOLLWAKEUP
516502
shutil.__all__
517503
socket.__all__
518-
socket.CAN_RAW_ERR_FILTER
519-
socket.IPV6_RECVERR
520-
socket.IP_FREEBIND
521-
socket.IP_RECVERR
522-
socket.IP_RECVORIGDSTADDR
523504
socket.IP_RECVTTL
524-
socket.SO_ORIGINAL_DST
525-
socket.VMADDR_CID_LOCAL
526505
socket.if_indextoname
527506
sre_compile.CH_NEGATE
528507
sre_constants.CH_NEGATE

stdlib/@tests/stubtest_allowlists/win32-py314.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# ====================================================================
2+
# TODO: New errors in Python 3.14 that need to be fixed or moved below
3+
# ====================================================================
4+
5+
_socket.IPV6_RECVERR
6+
_socket.IP_RECVTTL
7+
_socket.SO_ORIGINAL_DST
8+
socket.IPV6_RECVERR
9+
socket.IP_RECVERR
10+
socket.SO_ORIGINAL_DST
11+
12+
113
# =======
214
# >= 3.12
315
# =======

0 commit comments

Comments
 (0)