Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 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
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
3 changes: 3 additions & 0 deletions stdlib/@tests/stubtest_allowlists/common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,9 @@ unittest.runner._WritelnDecorator.write # Methods that come from __getattr__()
urllib.response.addbase.write # Methods that come from __getattr__() at runtime
urllib.response.addbase.writelines # Methods that come from __getattr__() at runtime

(pydoc.Doc.getdocloc)? # Runtime default is an installation-specific stdlib path.
(hashlib.__all__)? # scrypt depends on how OpenSSL was built.

_?weakref\.CallableProxyType\.__getattr__ # Should have all attributes of proxy
_?weakref\.(ref|ReferenceType)\.__init__ # C implementation has incorrect signature
_?weakref\.(ref|ReferenceType)\.__call__ # C function default annotation is wrong
Expand Down
11 changes: 7 additions & 4 deletions stdlib/@tests/stubtest_allowlists/darwin-py315.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# ============================================
# TODO: Allowlist entries that should be fixed
# ============================================

_pyrepl.fancy_termios
_pyrepl.unix_console
_pyrepl.unix_eventqueue
(_curses.BUTTON5_CLICKED)?
(_curses.BUTTON5_DOUBLE_CLICKED)?
(_curses.BUTTON5_PRESSED)?
(_curses.BUTTON5_RELEASED)?
(_curses.BUTTON5_TRIPLE_CLICKED)?
(_socket.SO_BINDTODEVICE)?
ctypes.c_double_complex._type_
ctypes.c_float_complex._type_
ctypes.c_longdouble_complex._type_
(errno.ENOTCAPABLE)?
os.NODEV
os.__all__
posix.NODEV
Expand Down
1 change: 1 addition & 0 deletions stdlib/@tests/stubtest_allowlists/darwin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ tkinter.Tk.deletefilehandler # Methods that come from __getattr__() at runtime

# These entries looks like a `setup-python` bug:
(dbm.gnu)?
(mmap.mmap.resize)?
(_?locale.bind_textdomain_codeset)?
(_?locale.bindtextdomain)?
(_?locale.dcgettext)?
Expand Down
26 changes: 19 additions & 7 deletions stdlib/@tests/stubtest_allowlists/linux-py315.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# ============================================
# TODO: Allowlist entries that should be fixed
# ============================================

# GitHub Actions' Python 3.15 Linux build currently lacks _decimal, so
# decimal falls back to _pydecimal with different runtime signatures.
decimal\..*
_decimal
_pyrepl.fancy_termios
_pyrepl.unix_console
_pyrepl.unix_eventqueue
(_socket.CAN_ISOTP_LL_OPTS)?
(_socket.CAN_ISOTP_OPTS)?
(_socket.CAN_ISOTP_RECV_FC)?
(_socket.CAN_ISOTP_RX_STMIN)?
(_socket.CAN_ISOTP_TX_STMIN)?
(_socket.SOL_CAN_ISOTP)?
ctypes.c_double_complex._type_
ctypes.c_float_complex._type_
ctypes.c_longdouble_complex._type_
# GitHub Actions' Python 3.15 Linux build currently lacks _decimal, so
# decimal falls back to _pydecimal with different runtime signatures.
decimal\..*
(mmap.mmap.madvise)?
os.AT_NO_AUTOMOUNT
os.AT_STATX_DONT_SYNC
os.AT_STATX_FORCE_SYNC
Expand Down Expand Up @@ -66,3 +69,12 @@ profiling.sampling.live_collector.display
profiling.sampling.live_collector.trend_tracker
profiling.sampling.live_collector.widgets
readline.get_pre_input_hook
(resource.RLIM_SAVED_CUR)?
(resource.RLIM_SAVED_MAX)?
(socket.CAN_ISOTP_LL_OPTS)?
(socket.CAN_ISOTP_OPTS)?
(socket.CAN_ISOTP_RECV_FC)?
(socket.CAN_ISOTP_RX_STMIN)?
(socket.CAN_ISOTP_TX_STMIN)?
(socket.SOL_CAN_ISOTP)?
(socket.__all__)?
Loading
Loading