Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c28a77a
Update stdlib stubs for Python 3.15
JelleZijlstra May 7, 2026
d38cf68
Fix Python 3.15 stubtest coverage
JelleZijlstra May 7, 2026
de50b34
Expand Python 3.15 stdlib coverage
JelleZijlstra May 7, 2026
938b345
Fix Python 3.15 stub review issues
JelleZijlstra May 7, 2026
7d58087
fixes
JelleZijlstra May 8, 2026
00892f3
more fixes
JelleZijlstra May 8, 2026
39788e6
fix more
JelleZijlstra May 8, 2026
cec3aca
not you
JelleZijlstra May 8, 2026
3a20644
no stubtest for now
JelleZijlstra May 8, 2026
16fbcb9
no commit
JelleZijlstra May 8, 2026
12371f1
Merge remote-tracking branch 'upstream/main' into python315
JelleZijlstra May 8, 2026
0db9084
stubtest
JelleZijlstra May 8, 2026
44d2e56
Add Python 3.15 test infrastructure
JelleZijlstra May 8, 2026
b594b7e
Merge branch 'codex/python315-testing' into python315
JelleZijlstra May 8, 2026
8fdc247
Fix Python 3.15 stubtest guards
JelleZijlstra May 8, 2026
1140f0b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 8, 2026
f5589f6
Fix older stdlib stubtest after 3.15 updates
JelleZijlstra May 8, 2026
7720c6a
Merge remote-tracking branch 'origin/python315' into python315
JelleZijlstra May 8, 2026
4e7b6d7
Allow platform-dependent hashlib exports
JelleZijlstra May 8, 2026
a278ef4
Fix platform 3.15 stubtest allowlists
JelleZijlstra May 8, 2026
ac88edb
Make 3.15 allowlist entries optional
JelleZijlstra May 8, 2026
3c10c06
Relax shared 3.15 allowlist entries
JelleZijlstra May 8, 2026
09ce903
Merge upstream main into python315
JelleZijlstra May 8, 2026
c3d6741
Merge remote-tracking branch 'upstream/main' into python315
JelleZijlstra May 9, 2026
689f19b
Fix Python 3.15 CI after merge
JelleZijlstra May 9, 2026
d8dda00
Complete profiling collector methods
JelleZijlstra May 9, 2026
49c1fd6
Remove covered profiling allowlist entries
JelleZijlstra May 9, 2026
f4770a2
Fix base profiling export parameter
JelleZijlstra May 9, 2026
6ec21e1
Allowlist profiling sampling internals
JelleZijlstra May 9, 2026
10bb878
Fix remaining Python 3.15 stubtest failures
JelleZijlstra May 9, 2026
cc2f7d5
Merge upstream/main into python315
JelleZijlstra May 11, 2026
ba00d28
Organize Python 3.15 stubtest allowlists
JelleZijlstra May 11, 2026
6df830a
Guard NODEV on Python 3.15
JelleZijlstra May 11, 2026
e5d6c98
Merge remote-tracking branch 'upstream/main' into python315
JelleZijlstra May 11, 2026
3bd8325
Tighten Python 3.15 allowlist entries
JelleZijlstra May 13, 2026
e3a4134
Guard ctypes complex type codes
JelleZijlstra May 13, 2026
4e42234
Merge branch 'main' into python315
JelleZijlstra May 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Relax shared 3.15 allowlist entries
  • Loading branch information
JelleZijlstra committed May 8, 2026
commit 3c10c06f7de9c14107e08fa462ed729991e43a7a
28 changes: 14 additions & 14 deletions stdlib/@tests/stubtest_allowlists/py315.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# New errors in Python 3.15
# =========================

mmap.MS_ASYNC
mmap.MS_INVALIDATE
mmap.MS_SYNC
os.NODEV
posix.NODEV
resource.RLIMIT_NTHR
resource.RLIMIT_THREADS
resource.RLIMIT_UMTXP
(mmap.MS_ASYNC)?
(mmap.MS_INVALIDATE)?
(mmap.MS_SYNC)?
(os.NODEV)?
(posix.NODEV)?
(resource.RLIMIT_NTHR)?
(resource.RLIMIT_THREADS)?
(resource.RLIMIT_UMTXP)?
(socket.__all__)?

# Importlib exposes deprecated or implementation-detail runtime APIs that the stubs deliberately omit or tighten.
Expand Down Expand Up @@ -110,14 +110,14 @@ enum.auto.__init__
enum.auto.value

# Complex ctypes scalar runtime metadata is not useful for static checking.
ctypes.c_double_complex._type_
ctypes.c_float_complex._type_
ctypes.c_longdouble_complex._type_
(ctypes.c_double_complex._type_)?
(ctypes.c_float_complex._type_)?
(ctypes.c_longdouble_complex._type_)?

# Runtime metadata/export lists changed, but the stubs expose the supported API surface.
http.HTTPMethod.description
inspect._ParameterKind.description
os.__all__
(os.__all__)?
sys.last_exc
threading.Condition.locked
typing_extensions.__all__
Expand Down Expand Up @@ -156,7 +156,7 @@ multiprocessing.managers._BaseSetProxy.pop
multiprocessing.process.BaseProcess.__init__

# Runtime path APIs include implementation hooks/deprecated behavior that the stubs intentionally hide or tighten.
ntpath.realpath
(ntpath.realpath)?

# base64.b64decode uses a private sentinel list as the default for parameters whose public types are bool/buffer.
base64.b64decode
Expand All @@ -167,7 +167,7 @@ profiling\.sampling\..+
profiling.tracing.__all__

# readline hook availability is build-dependent.
readline.get_pre_input_hook
(readline.get_pre_input_hook)?

# Doesn't really exist, or is hidden behind implementation guards; see comments in the sys stub.
sys.__jit
Expand Down
4 changes: 2 additions & 2 deletions stdlib/@tests/stubtest_allowlists/win32-py315.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_decimal.SPEC_VERSION
(_decimal.SPEC_VERSION)?
_socket.IPV6_HDRINCL
_winapi.DeregisterEventSource
_winapi.EVENTLOG_AUDIT_FAILURE
Expand All @@ -11,7 +11,7 @@ _winapi.GetOEMCP
_winapi.RegisterEventSource
_winapi.ReportEvent
asyncio.windows_events.IocpProactor.finish_socket_func
decimal.SPEC_VERSION
(decimal.SPEC_VERSION)?
socket.IPV6_HDRINCL
socket.__all__
winreg.DeleteTree