Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
39e6187
gh-44968: Add "Reload from Disk" feature to IDLE
ashm-dev Nov 14, 2025
9dacd3d
Use builtins.open for file operations in tests
ashm-dev Nov 14, 2025
884758b
Update Lib/idlelib/iomenu.py
ashm-dev Nov 15, 2025
d6f54a2
Simplify file reload by removing cursor restoration
ashm-dev Nov 15, 2025
66ab8ce
Merge branch 'main' into idle
ashm-dev Nov 15, 2025
c10c5b9
Fix typo in 'File Not Found' message
ashm-dev Nov 15, 2025
7a88c34
Update error message in test for file reload
ashm-dev Nov 15, 2025
5614c28
fix import
ashm-dev Nov 15, 2025
3ce95d3
Merge remote-tracking branch 'origin/idle' into idle
ashm-dev Nov 15, 2025
545ba86
fix: move local imports to global
ashm-dev Nov 15, 2025
5f5e769
test_iomenu: use unittest.mock.patch and call_args
ashm-dev Nov 15, 2025
da37468
IDLE tests: use addCleanup for tempfile removal in test_iomenu
ashm-dev Nov 15, 2025
66e0495
remove comments
ashm-dev Nov 15, 2025
a154c9f
refactor(tests): Use mock.patch for messagebox dialogs
ashm-dev Nov 15, 2025
bd28bb4
add news
ashm-dev Nov 15, 2025
fe997ec
rewrite tests
ashm-dev Nov 15, 2025
0f1795b
Merge branch 'main' into idle
ashm-dev Nov 15, 2025
7421699
Update Doc/whatsnew/3.15.rst
ashm-dev Nov 15, 2025
21c5a9c
Update Misc/NEWS.d/next/IDLE/2025-11-14-20-58-55.gh-issue-44968.rL9dK…
ashm-dev Nov 15, 2025
ad17754
Update Doc/whatsnew/3.15.rst
ashm-dev Nov 15, 2025
8672683
Update Doc/whatsnew/3.15.rst
ashm-dev Nov 15, 2025
a1e94ca
fix
ashm-dev Nov 15, 2025
9485351
Merge remote-tracking branch 'origin/idle' into idle
ashm-dev Nov 15, 2025
1788b80
fix tsan
ashm-dev Nov 16, 2025
953dc8d
fix tests
ashm-dev Nov 16, 2025
a689fd1
Merge branch 'main' into idle
ashm-dev Nov 17, 2025
d27c71b
Merge branch 'main' into idle
ashm-dev Nov 17, 2025
a77a5c0
Merge branch 'main' into idle
ashm-dev Nov 18, 2025
18a30d2
Update Lib/idlelib/idle_test/test_iomenu.py
ashm-dev Nov 19, 2025
885f2cf
Update Lib/idlelib/idle_test/test_iomenu.py
ashm-dev Nov 19, 2025
6397cb7
Python 3.15.0a2
hugovk Nov 18, 2025
a3956e0
Post 3.15.0a2
hugovk Nov 19, 2025
e55c1fd
gh-141691: Apply ruff rules to Apple folder. (#141694)
freakboy3742 Nov 18, 2025
c0c4438
gh-140381: Increase slow_fibonacci call frequency in test_profiling (…
ThierryMT Nov 19, 2025
cea60ca
gh-139103: fix free-threading `dataclass.__init__` perf issue (gh-141…
LindaSummer Nov 19, 2025
a9cd136
gh-141692: Add a slice-specific lib folder to iOS XCframeworks. (#141…
freakboy3742 Nov 19, 2025
6ca016d
gh-141659: Fix bad file descriptor error in subprocess on AIX (GH-141…
ayappanec Nov 19, 2025
a019bca
GH-139653: Only raise an exception (or fatal error) when the stack po…
markshannon Nov 19, 2025
b20ebb9
Correct class name from PullDom to PullDOM (#141207)
guoci Nov 19, 2025
16b0e3f
gh-141726: Add PyDict_SetDefaultRef() to the Stable ABI (#141727)
da-woods Nov 19, 2025
37aec79
gh-140875: Fix handling of unclosed charrefs before EOF in HTMLParser…
serhiy-storchaka Nov 19, 2025
2aee349
gh-135953: Avoid BytesWarning when sampling profiler tests fail (GH-1…
encukou Nov 19, 2025
8016888
gh-141570: can_colorize: Expect fileno() to raise OSError, as documen…
hroncok Nov 19, 2025
12c647f
gh-138072: Small clarifications and phrasing improvements to asyncio …
anordin95 Nov 19, 2025
f40ac09
GH-140638: Add a GC "duration" stat (GH-141720)
brandtbucher Nov 19, 2025
abda153
gh-41779: Allow defining the __dict__ and __weakref__ __slots__ for a…
serhiy-storchaka Nov 19, 2025
ea0dde7
gh-141172: Update to wasi-sdk-29 (GH-141684)
alexcrichton Nov 19, 2025
5555133
gh-141721: Improve docstring for LastUpdatedOrderedDict example (gh14…
ramalho Nov 19, 2025
e767089
gh-141004: Document `Py_LOCAL` and `Py_LOCAL_INLINE` (GH-141725)
StanFromIreland Nov 19, 2025
8a786d8
Move the NEWS entry for gh-141659 to the correct section (GH-141744)
ayappanec Nov 19, 2025
e592112
Remove GvR from '_stdauthor' in Doc/conf.py (#141765)
gvanrossum Nov 19, 2025
01108b7
Simplify setting CLI options for WASI builds (GH-141769)
brettcannon Nov 19, 2025
e5a79b4
[Docs] Fix typo in bdb: `is_skipped_line` to `is_skipped_module` (#14…
guoci Nov 20, 2025
28f3cc0
gh-141615: Check stdin instead of stdout for use_rawinput in pdb (#14…
gaogaotiantian Nov 20, 2025
a2d9aa0
gh-141489: Simplify closure/freevar iteration in `annotationlib._buil…
dr-carlos Nov 20, 2025
1b0326a
gh-139871: Optimize small takes in bytearray.take_bytes (GH-141741)
cmaloney Nov 20, 2025
047e5ec
gh-141757: Comply with pickle protocol in test_reduce_5tuple (GH-141759)
Bobronium Nov 20, 2025
730511d
gh-141004: Document `Py_MakePendingCalls` (GH-141137)
ZeroIntensity Nov 20, 2025
ab8c014
gh-141004: Document missing generator APIs (GH-141409)
ZeroIntensity Nov 20, 2025
7dceff5
gh-141004: Document missing `PyDateTime*` APIs (GH-141543)
ZeroIntensity Nov 20, 2025
703c81b
gh-140042: Removing unsafe call to sqlite3_shutdown (GH-141690)
prithviraj-chaudhuri Nov 20, 2025
20a9f19
gh-141784: Fix _remote_debugging_module.c compilation on 32-bit Linux…
vstinner Nov 20, 2025
c37a25e
gh-60107: Remove a copy from RawIOBase.read (#141532)
cmaloney Nov 20, 2025
9e2f9e1
gh-141645: Add a TUI mode to the new tachyon profiler (#141646)
pablogsal Nov 20, 2025
23e14ca
gh-138697: Fix inferring dest from a single-dash long option in argpa…
serhiy-storchaka Nov 20, 2025
1b50172
gh-141645: Refactor tachyon's live TUI tests to not use private field…
pablogsal Nov 21, 2025
d601bc3
gh-141729: Doc PyTypeObject.tp_vectorcall grammar fix (#141730)
michaelkiper Nov 21, 2025
4e68a7a
GH-139727: Add --enable-stackref-debug flag to build.bat to enable Py…
sergey-miryanov Nov 21, 2025
e0b0416
gh-141645: Add profiling/sampling/live_collector to the makefile and …
pablogsal Nov 21, 2025
41ba1a0
gh-140795: fetch thread state once on fast path for critical sections…
kumaraditya303 Nov 21, 2025
678f161
gh-141612: improve `test_trampoline_works_with_forks` coverage (#141613)
pareshjoshij Nov 21, 2025
5b77088
gh-116738: Make csv module thread-safe (gh-141365)
yoney Nov 21, 2025
6387a5e
gh-141498: Change backoff counter to use prime numbers instead of pow…
efimov-mikhail Nov 21, 2025
3f21052
gh-129559: add `bytearray.resize` thread safety test for free-threadi…
cmaloney Nov 21, 2025
4dc0467
gh-137422: Fix race condition in PyImport_AddModuleRef (gh-141822)
colesbury Nov 21, 2025
947df21
gh-140381: Make test_profiling tests deterministic to fix flakiness (…
pablogsal Nov 21, 2025
bfb7dd6
gh-141833: Remove the bad lines in `test_attr_promotion_failure` (GH-…
Yzi-Li Nov 22, 2025
6abf303
gh-141817: Add IPV6_HDRINCL constant to the socket module (#141818)
Rosuav Nov 22, 2025
83ca688
gh-131178: Add tests for `pickletools` command-line interface (#131287)
donbarbos Nov 22, 2025
bd14ec2
gh-141801: Use accessors for ASN1_STRING fields in libssl (GH-141802)
davidben Nov 22, 2025
29de0fe
gh-141600: Fix musl version detection on Void Linux (GH-141602)
ahesford Nov 22, 2025
293a740
gh-98552: flush std streams in the multiprocessing forkserver before …
gpshead Nov 22, 2025
5d76785
gh-101100: Fix sphinx warnings in `library/unittest.rst` (#140109)
LamentXU123 Nov 22, 2025
9739b12
GH-101100: Resolve reference warnings in library/stdtypes.rst (#138420)
AA-Turner Nov 22, 2025
4edec83
gh-138525: Support single-dash long options and prefix_chars in Boole…
serhiy-storchaka Nov 22, 2025
86fd240
GH-140638: Add a GC "candidates" stat (GH-141814)
brandtbucher Nov 22, 2025
7369349
gh-141679: Add colour to defaults in `argparse` help (#141680)
hugovk Nov 23, 2025
1b6b257
[security] Add a cooldown period to dependabot (GH-141866)
gpshead Nov 23, 2025
f7dcd4e
gh-98552: Revert (unneeded, already done elsewhere) "flush std stream…
gpshead Nov 23, 2025
2987e47
gh-120158: Fix inconsistent monitoring state when setting events too …
colesbury Nov 23, 2025
4e840e5
Drop three unused imports (#141875)
yihong0618 Nov 23, 2025
e778021
gh-141865: Fix translation of strings in `changes.py` extension (#141…
StanFromIreland Nov 23, 2025
4fcd09c
math.dist documentation: add 'strict=True' to equivalent code (#141819)
srepmub Nov 23, 2025
1919a0f
gh-135335: Simplify preload regression test using __main__ (GH-138686)
duaneg Nov 23, 2025
32aa46a
gh-138122: Refactor the CLI of profiling.sampling into subcommands (#…
pablogsal Nov 24, 2025
1e4815f
gh-106318: Add example for str.isdecimal() (#137559)
adorilson Nov 24, 2025
1fdf8af
gh-141780: Make PyModule_FromSlotsAndSpec enable GIL if needed (GH-…
encukou Nov 24, 2025
6595639
gh-141004: Document `Py_ARRAY_LENGTH` (GH-141601)
Yashp002 Nov 24, 2025
5ff1393
gh-106318: Add example for str.isascii() (#137558)
adorilson Nov 24, 2025
6014660
gh-138199: Address potential confusion regarding threading in the `as…
anordin95 Nov 24, 2025
8b489af
gh-106318: Add example for str.isalpha() (#137557)
adorilson Nov 24, 2025
ca9b915
gh-138122: Fix permission error detection in tachyon's test (#141897)
pablogsal Nov 24, 2025
a3e41e5
gh-141831: Document behavior of functools.lru_cache with concurrent a…
SkvProgrammer Nov 24, 2025
576f272
gh-106318: Add example for str.format() (#137018)
adorilson Nov 24, 2025
00322c7
gh-106318: Add examples for str.join() (#140315)
adorilson Nov 24, 2025
1fd61d5
gh-141863: use `bytearray.take_bytes` in asyncio streams for better p…
cmaloney Nov 24, 2025
5a8eb3e
gh-116749: Fix code comment for _PyConfig_GIL_DEFAULT (gh-141804)
colesbury Nov 24, 2025
e34c226
gh-129441: Fix some flakiness in test_instrumentation (gh-141881)
colesbury Nov 24, 2025
6cd3ad6
gh-141004: Document `PyImport_Inittab` (GH-141844)
ZeroIntensity Nov 24, 2025
a21d953
gh-141004: Document stack effect C APIs (GH-141843)
ZeroIntensity Nov 24, 2025
2317884
gh-141907: Better handle support for SHA3 for test_hashlib (GH-141908)
Ansuel Nov 24, 2025
0dd6a73
Fix implicit import in `test_monitoring.py` (gh-141795)
SubbaraoGarlapati Nov 24, 2025
6d24e09
GH-141861: Fix invalid memory read in the ENTER_EXECUTOR (GH-141921)
sergey-miryanov Nov 24, 2025
2331a94
gh-141781: Fix pdb.line_prefix binding (#141779)
pareshjoshij Nov 25, 2025
ead61f0
gh-138122: Split Modules/_remote_debugging_module.c into multiple fil…
pablogsal Nov 25, 2025
81cb419
gh-140911: Ensure that UserString.index() and UserString.rindex() acc…
XChaitanyaX Nov 25, 2025
0fb7ccb
gh-139165: Make Py_SIZE, Py_IS_TYPE,Py_ SET_SIZE regular functions in…
encukou Nov 25, 2025
35666a8
gh-141004: Document `PyOS_mystr(n)icmp` (#141760)
StanFromIreland Nov 25, 2025
e2c4803
gh-141909: Add `PyModuleDef_Slot` and earlier Py_mod_* constants to s…
encukou Nov 25, 2025
d48522f
gh-141004: Document missing `PyThread*` APIs (GH-141810)
ZeroIntensity Nov 25, 2025
2a1c076
Remove references to ``Misc/ACKS`` from ``CONTRIBUTING.md`` (#141952)
StanFromIreland Nov 25, 2025
38b7a1e
Remove ``Misc/ACKS`` check from patchcheck, documentation (#141960)
StanFromIreland Nov 26, 2025
a4c2d0b
Correct indentation in `stdtypes.rst` (#141957)
guoci Nov 26, 2025
da2348e
gh-140550: PEP 793 reference documentation (GH-141197)
encukou Nov 26, 2025
f2285c1
gh-140011: Delete importdl assertion that prevents importing embedded…
itamaro Nov 26, 2025
59d452a
GH-141861: Fix TRACE_RECORD if full (GH-141959)
sergey-miryanov Nov 26, 2025
a091f46
gh-141909: Correct version where Py_mod_gil was added (GH-141979)
encukou Nov 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 5 additions & 6 deletions .github/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ Please be aware that our workflow does deviate slightly from the typical GitHub
project. Details on how to properly submit a pull request are covered in
`Lifecycle of a Pull Request <https://devguide.python.org/getting-started/pull-request-lifecycle.html>`_.
We utilize various bots and status checks to help with this, so do follow the
comments they leave and their "Details" links, respectively. The key points of
our workflow that are not covered by a bot or status check are:
comments they leave and their "Details" links, respectively.

- All discussions that are not directly related to the code in the pull request
should happen on `GitHub Issues <https://github.com/python/cpython/issues>`_.
- Upon your first non-trivial pull request (which includes documentation changes),
feel free to add yourself to ``Misc/ACKS``.
The final key part of our workflow is that all discussions that are not
directly related to the code in the pull request should happen on
`GitHub Issues <https://github.com/python/cpython/issues>`__, generally in the
pull request's parent issue.


Setting Expectations
Expand Down
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,17 @@ updates:
update-types:
- "version-update:semver-minor"
- "version-update:semver-patch"
cooldown:
# https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
# Cooldowns protect against supply chain attacks by avoiding the
# highest-risk window immediately after new releases.
default-days: 14
- package-ecosystem: "pip"
directory: "/Tools/"
schedule:
interval: "monthly"
labels:
- "skip issue"
- "skip news"
cooldown:
default-days: 14
2 changes: 1 addition & 1 deletion .github/workflows/reusable-wasi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
timeout-minutes: 60
env:
WASMTIME_VERSION: 38.0.3
WASI_SDK_VERSION: 25
WASI_SDK_VERSION: 29
WASI_SDK_PATH: /opt/wasi-sdk
CROSS_BUILD_PYTHON: cross-build/build
CROSS_BUILD_WASI: cross-build/wasm32-wasip1
Expand Down
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.2
hooks:
- id: ruff-check
name: Run Ruff (lint) on Apple/
args: [--exit-non-zero-on-fix, --config=Apple/.ruff.toml]
files: ^Apple/
- id: ruff-check
name: Run Ruff (lint) on Doc/
args: [--exit-non-zero-on-fix]
Expand Down Expand Up @@ -30,6 +34,10 @@ repos:
name: Run Ruff (lint) on Tools/wasm/
args: [--exit-non-zero-on-fix, --config=Tools/wasm/.ruff.toml]
files: ^Tools/wasm/
- id: ruff-format
name: Run Ruff (format) on Apple/
args: [--exit-non-zero-on-fix, --config=Apple/.ruff.toml]
files: ^Apple
- id: ruff-format
name: Run Ruff (format) on Doc/
args: [--check]
Expand Down
22 changes: 22 additions & 0 deletions Apple/.ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
extend = "../.ruff.toml" # Inherit the project-wide settings

[format]
preview = true
docstring-code-format = true

[lint]
select = [
"C4", # flake8-comprehensions
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"ISC", # flake8-implicit-str-concat
"LOG", # flake8-logging
"PGH", # pygrep-hooks
"PT", # flake8-pytest-style
"PYI", # flake8-pyi
"RUF100", # Ban unused `# noqa` comments
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]
Loading