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
Tighten Python 3.15 allowlist entries
  • Loading branch information
JelleZijlstra committed May 13, 2026
commit 3bd832559a6c73c5df1dfd9c39f22e4e2632b54d
5 changes: 0 additions & 5 deletions stdlib/@tests/stubtest_allowlists/darwin-py315.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
(_socket.SO_BINDTODEVICE)?
(errno.ENOTCAPABLE)?

# Runtime metadata for new ctypes complex types is not useful for static checking.
ctypes.c_double_complex._type_
ctypes.c_float_complex._type_
ctypes.c_longdouble_complex._type_

# Depends on how readline was built.
readline.get_pre_input_hook

Expand Down
1 change: 0 additions & 1 deletion stdlib/@tests/stubtest_allowlists/darwin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ 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
14 changes: 4 additions & 10 deletions stdlib/@tests/stubtest_allowlists/linux-py315.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# 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
os.AT_NO_AUTOMOUNT
os.AT_STATX_DONT_SYNC
os.AT_STATX_FORCE_SYNC
Expand Down Expand Up @@ -53,16 +57,6 @@ posix.statx
# Allowlist entries that cannot or should not be fixed; >= 3.15
# =============================================================

# GitHub Actions' Python 3.15 Linux build currently lacks _decimal, so
# decimal falls back to _pydecimal with different runtime signatures.
decimal\..*
_decimal

# Runtime metadata for new ctypes complex types is not useful for static checking.
ctypes.c_double_complex._type_
ctypes.c_float_complex._type_
ctypes.c_longdouble_complex._type_

# Depends on how readline was built.
readline.get_pre_input_hook

Expand Down
6 changes: 3 additions & 3 deletions stdlib/ctypes/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -333,17 +333,17 @@ if sys.version_info >= (3, 14) and sys.platform != "win32":
# https://github.com/python/cpython/issues/148464

class c_double_complex(_SimpleCData[complex]):
_type_: ClassVar[Literal["D"]]
_type_: ClassVar[Literal["Zd"]]
__ctype_be__: ClassVar[type[Self]]
__ctype_le__: ClassVar[type[Self]]

class c_float_complex(_SimpleCData[complex]):
_type_: ClassVar[Literal["F"]]
_type_: ClassVar[Literal["Zf"]]
__ctype_be__: ClassVar[type[Self]]
__ctype_le__: ClassVar[type[Self]]

class c_longdouble_complex(_SimpleCData[complex]):
_type_: ClassVar[Literal["G"]]
_type_: ClassVar[Literal["Zg"]]

class c_char(_SimpleCData[bytes]):
_type_: ClassVar[Literal["c"]]
Expand Down
Loading