Skip to content

Fix UnboundLocalError in email.message.Message.get_payload (GH-134759) Cline Fix #136751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 625 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
625 commits
Select commit Hold shift + click to select a range
77c4b5d
[3.14] gh-130077: Properly match full soft keywords in the parser (GH…
miss-islington Jun 11, 2025
f303532
[3.14] gh-91048: Reorder result tuple of parse_code_object (GH-13489…
miss-islington Jun 11, 2025
9f6c376
[3.14] gh-135326: Test support of __index__ in random.getrandbits() (…
miss-islington Jun 11, 2025
30494cc
[3.14] gh-133967: Do not normalize locale name 'C.UTF-8' to 'en_US.UT…
miss-islington Jun 11, 2025
0e969fe
[3.14] gh-135321: Always raise a correct exception for BINSTRING argu…
miss-islington Jun 11, 2025
98136dd
[3.14] gh-133264: Correct documentation of how Py_Main and Py_RunMain…
miss-islington Jun 11, 2025
4a30154
[3.14] Fix presentation of dataclasses' `unsafe_hash` default value (…
miss-islington Jun 12, 2025
e76dbc8
[3.14] gh-128627: Fix iPad detection in wasm-gc (GH-135388) (#135419)
miss-islington Jun 12, 2025
8cb7d9a
[3.14] gh-135410: use a critical section around `StringIO.__next__` (…
miss-islington Jun 12, 2025
04273ad
[3.14] gh-134939: Add the concurrent.interpreters Module (gh-135414)
ericsnowcurrently Jun 12, 2025
f885c7d
[3.14] gh-135429: Fix the argument mismatch in lsprof throw event (GH…
miss-islington Jun 12, 2025
b3efd3d
[3.14] Revert "gh-135410: use a critical section around `StringIO.__n…
miss-islington Jun 12, 2025
f22aae1
[3.14] gh-106318: Add example for `str.encode()` (GH-134520) (#135457)
miss-islington Jun 13, 2025
8a78ee6
[3.14] gh-106318: Add example for `str.endswith()` (GH-134523) (#135459)
miss-islington Jun 13, 2025
6754a50
[3.14] gh-132969: Fix error/hang when shutdown(wait=False) and task …
miss-islington Jun 13, 2025
46e7ed7
[3.14] gh-135244: improve wording of `uuid8` docs about CSPRNG (GH-13…
miss-islington Jun 13, 2025
a9db299
[3.14] gh-106318: Add example for `str.expandtabs()` (GH-134525) (#13…
miss-islington Jun 13, 2025
5912979
gh-135455: Fix version and architecture detection in PC/layout script…
miss-islington Jun 13, 2025
b573a85
[3.14] doc: Remove what was essentially duplicate wording. (GH-135431…
miss-islington Jun 13, 2025
d851f8e
[3.14] gh-135462: Fix quadratic complexity in processing special inpu…
miss-islington Jun 13, 2025
f77a911
[3.14] gh-135437: Account For Duplicate Names in _PyCode_SetUnboundVa…
miss-islington Jun 13, 2025
0fe5463
[3.14] gh-132775: Clean Up Cross-Interpreter Error Handling (gh-135492)
miss-islington Jun 14, 2025
7499bcd
[3.14] gh-135496: Fix f string exclamation mark error typo (GH-135495…
miss-islington Jun 14, 2025
79df5d1
[3.14] gh-135368: Fix mocks on dataclass specs with `instance=True` (…
miss-islington Jun 14, 2025
f346ba7
[3.14] gh-135504: Document `LIBZSTD_CFLAGS` and `LIBZSTD_LIBS` config…
miss-islington Jun 14, 2025
c5f066d
[3.14] gh-135497: fix `MAXLOGNAME` detection in `configure.ac` (GH-13…
miss-islington Jun 14, 2025
ee141f0
[3.14] gh-135171: Update documentation for the generator expression (…
miss-islington Jun 15, 2025
6ae5455
[3.14] gh-65697: Improved error msg for configparser key validation (…
miss-islington Jun 15, 2025
f8f99b1
[3.14] gh-135371: Fix asyncio introspection output to include interna…
miss-islington Jun 15, 2025
e00aef6
[3.14] gh-135361: update documentation for `remote_debugger_script` a…
miss-islington Jun 15, 2025
7fd8857
[3.14] gh-135371: Clean tags from pointers in all cases in remote deb…
miss-islington Jun 15, 2025
1c4f01a
[3.14] gh-67022: Document bytes/str inconsistency in email.header.dec…
miss-islington Jun 15, 2025
e89c7f1
[3.14] gh-111178: fix UBSan failures for `RemoteUnwinderObject` (GH-1…
miss-islington Jun 15, 2025
43bf8b3
[3.14] gh-127319: Disable port reuse on HTTP, XMLRPC, and logging TCP…
miss-islington Jun 16, 2025
0eec8dd
[3.14] gh-120608: fix NEWS entry typo (GH-135535) (#135558)
miss-islington Jun 16, 2025
2ef78a8
[3.14] GH-135171: Revert async generator expressions behavior (#135352)
efimov-mikhail Jun 16, 2025
9410113
[3.14] gh-119132: Remove "experimental" tag from the CPython free-thr…
miss-islington Jun 16, 2025
0e0ad7b
[3.14] gh-134160: Split extension module init from PyModule docs; emp…
miss-islington Jun 16, 2025
027f584
[3.14] gh-135513: Fix unused variable warning in `crossinterp.c` (GH-…
miss-islington Jun 16, 2025
15f7bd4
[3.14] gh-132617: Fix `dict.update()` mutation check (gh-134815) (gh-…
miss-islington Jun 16, 2025
964c29d
[3.14] gh-116738: Make _heapq module thread-safe (GH-135036) (gh-135309)
miss-islington Jun 16, 2025
a2c4791
[3.14] Use replacements to update versions in "Using Python on macOS"…
miss-islington Jun 16, 2025
d62b73a
[3.14] gh-128627: Emscripten: Add missing semicolon in ios detection …
miss-islington Jun 16, 2025
7aeddea
[3.14] gh-119132: Update 'Using Python on macOS' documentation. (GH-1…
miss-islington Jun 16, 2025
2b1c0a7
[3.14] gh-135443: Sometimes Fall Back to __main__.__dict__ For Global…
miss-islington Jun 16, 2025
d2292c2
[3.14] gh-135489: Show verbose output for failing tests during PGO pr…
miss-islington Jun 17, 2025
540fa29
[3.14] gh-123299: Add PEP 779 to What's New in Python 3.14 (GH-135555…
miss-islington Jun 17, 2025
1bd034d
[3.14] gh-134632: Fix `build-details.json` to use `INCLUDEPY` path (G…
miss-islington Jun 17, 2025
3233cff
[3.14] gh-134262: increase retries in `Tools/build/generate_sbom.py` …
emmatyping Jun 17, 2025
91d9e9e
[3.14] gh-134262: Catch both URLError and ConnectionError in retries …
miss-islington Jun 17, 2025
c1735c5
[3.14] gh-132815: Add support for JUMP_BACKWARD in specialization sta…
miss-islington Jun 17, 2025
26d485d
Python 3.14.0b3
hugovk Jun 17, 2025
8ec4186
Post 3.14.0b3
hugovk Jun 17, 2025
2c29ee8
[3.14] gh-132775: Fix Interpreter.call() __main__ Visibility (gh-135638)
miss-islington Jun 17, 2025
77e2ac1
[3.14] gh-127146: Allow ignored keys to be missing in test_sysconfig …
miss-islington Jun 18, 2025
bf189d7
[3.14] gh-127146: Emscripten: Skip test_url2pathname_resolve_host (GH…
miss-islington Jun 18, 2025
a61bd7a
[3.14] gh-127146: Emscripten: Fix test failure due to missing os.link…
miss-islington Jun 18, 2025
9f63a54
[3.14] gh-127146: Emscripten: Fix pathlib glob_dotdot test (GH-135624…
miss-islington Jun 18, 2025
1429eef
[3.14] gh-119180: Only fetch globals and locals if necessary in `anno…
miss-islington Jun 18, 2025
52cb287
[3.14] gh-127146: Enable large files on Emscripten (GH-135635) (#135655)
miss-islington Jun 18, 2025
562f6d1
[3.14] gh-134632: Add iOS/Android test skip for C API check for heade…
miss-islington Jun 18, 2025
91914fd
[3.14] gh-135627: Remove documentation for LOAD_CONST_IMMORTAL opcode…
miss-islington Jun 18, 2025
9ac369c
[3.14] gh-135335: flush stdout/stderr in forkserver after preloading …
miss-islington Jun 18, 2025
d4daf4d
[3.14] gh-135646: Raise consistent `NameError` exceptions in `Forward…
miss-islington Jun 18, 2025
bb99270
[3.14] gh-135676: lexical analysis: Improve section on Numeric litera…
miss-islington Jun 18, 2025
3ae8a5b
[3.14] gh-135376: Fix and improve test_random (GH-135377) (GH-135680)
miss-islington Jun 18, 2025
1734b29
[3.14] Docs: Fix markups for emphasis (GH-135598) (GH-135685)
miss-islington Jun 18, 2025
a93ff87
[3.14] gh-135641: Fix flaky `test_capi.test_lock_two_threads` test ca…
miss-islington Jun 18, 2025
47ee2ae
gh-134538: Add link to shutil.rmtree example in function docs (GH-135…
miss-islington Jun 18, 2025
c03f94e
[3.14] gh-135450: Remove assertion in `_PyCode_CheckNoExternalState` …
miss-islington Jun 18, 2025
bc8ed42
[3.14] gh-133485: Use interpreters.Interpreter in InterpreterPoolExec…
miss-islington Jun 19, 2025
aee789c
[3.14] Document that PyType_GetModuleByDef returns a borrowed referen…
miss-islington Jun 19, 2025
53b36e0
[3.14] gh-126112: Fix test_os.TimerfdTests: use 10 ms resolution (GH-…
miss-islington Jun 19, 2025
250bb7f
[3.14] Docs: Emphasize parameter name in `pkgutil.iter_importers` (GH…
miss-islington Jun 19, 2025
a7abb8c
[3.14] Docs: Add missing lines between regex and text (GH-134505) (GH…
miss-islington Jun 19, 2025
a170086
[3.14] gh-135273: Unify `ZoneInfo.from_file` signatures (GH-135274) (…
miss-islington Jun 19, 2025
8caf3fd
[3.14] gh-135709: Fix two compile warnings on WASM buildbot (GH-13571…
miss-islington Jun 19, 2025
83e0ab1
[3.14] gh-135561: ensure that the GIL is held when handling an HACL* …
miss-islington Jun 19, 2025
0370cb4
gh-135543: Emit sys.remote_exec audit event when sys.remote_exec is c…
miss-islington Jun 19, 2025
203753b
[3.14] gh-127146: Add skip_emscripten_stack_overflow in a few places …
miss-islington Jun 19, 2025
60fc42c
[3.14] gh-135608: Add a null check for attribute promotion to fix a J…
Fidget-Spinner Jun 20, 2025
d057cb4
[3.14] gh-135532: simplify handling of HACL* errors in `_hmac` (GH-13…
miss-islington Jun 20, 2025
28fc24e
[3.14] gh-135532: update `Modules/_hacl/python_hacl_namespaces.h` (GH…
miss-islington Jun 20, 2025
1ee0bb8
[3.14] gh-89083: add links to RFC 9562 sections in UUID docs (GH-1356…
miss-islington Jun 20, 2025
bd24261
[3.14] Docs: Document `PyExceptionClass` functions in the C API (GH-1…
miss-islington Jun 20, 2025
35b90e8
[3.14] gh-135698: Fix Cross-interpreter Queue.full() With Negative/De…
miss-islington Jun 20, 2025
b1d5e23
[3.14] gh-135756: Fix nonexistent parameter in tkinter docs (GH-13577…
miss-islington Jun 20, 2025
fa62dfe
[3.14] gh-135645: Added `supports_isolated_interpreters` to `sys.impl…
miss-islington Jun 21, 2025
e388b29
[3.14] gh-135557: use atomic stores in `heapq` operations in free-thr…
miss-islington Jun 21, 2025
2b5c904
[3.14] gh-127146: Skip test_os.test_mode for Emscripten (GH-135764) (…
miss-islington Jun 21, 2025
73e2089
[3.14] Docs: Remove unnecessary trailing backslashes (GH-135781) (GH-…
miss-islington Jun 21, 2025
10f9db9
[3.14] gh-135815: skip `netrc` security checks if `os.getuid` is miss…
miss-islington Jun 22, 2025
a843fec
[3.14] patchcheck: use URL paths to identify upstream remote (GH-1358…
miss-islington Jun 23, 2025
f0a330e
[3.14] gh-89488: Add warning about `Py_BuildValue("p")` needing exact…
miss-islington Jun 23, 2025
85fbf80
[3.14] gh-134986: Catch PermissionError when trying to call perf in t…
miss-islington Jun 23, 2025
aad47c1
[3.14] Bump mypy to 1.16.1 (GH-135720) (#135848)
miss-islington Jun 23, 2025
c9cbe06
[3.14] Docs: Use `arguments` to replace `args` in `argparse.rst` (GH-…
miss-islington Jun 23, 2025
7227aa4
[3.14] Fix example according to PEP 750 in "What's new in 3.14" (GH-1…
miss-islington Jun 23, 2025
148f31f
[3.14] gh-135648: Document that `shutil.copyfileobj` doesn't flush (G…
miss-islington Jun 24, 2025
961dd80
[3.14] gh-135494: Fix python -m test --pgo -x test_re (GH-135713) (#1…
miss-islington Jun 24, 2025
3cdb659
[3.14] gh-135487: fix `reprlib.Repr.repr_int` when given very large i…
miss-islington Jun 24, 2025
88c5552
[3.14] gh-135878: Fix crash in `types.SimpleNamespace.__repr__` (GH-1…
miss-islington Jun 24, 2025
fa74331
[3.14] gh-135805: Document the X option and env var for controlling t…
miss-islington Jun 24, 2025
090a42b
[3.14] gh-135855: Raise TypeError When Passing Non-dict Object to `_i…
miss-islington Jun 24, 2025
349f4c2
[3.14] gh-135755: Docs: C API: Document missing `PyFunction_GET*` mac…
miss-islington Jun 25, 2025
93a31be
[3.14] gh-135839: Fix `module_traverse` and `module_clear` in `_inter…
miss-islington Jun 25, 2025
a345fed
[3.14] gh-135755: Move SPECIAL_ constants to a private header (GH-135…
encukou Jun 25, 2025
17c6818
[3.14] gh-131591: Make --without-remote-debug work (GH-135925) (GH-13…
miss-islington Jun 25, 2025
8ef0398
[3.14] Docs: Add cross-reference for `positional_item` in the `calls`…
miss-islington Jun 25, 2025
6e5350d
[3.14] gh-135839: Fix `module_traverse` and `module_clear` in subinte…
miss-islington Jun 25, 2025
df1c124
[3.14] gh-91555: Revert disabling of logger while handling log record…
miss-islington Jun 25, 2025
80fc62f
[3.14] gh-135871: Fix needless spinning in `_PyMutex_LockTimed` with …
miss-islington Jun 25, 2025
39bbf59
[3.14] Docs: Fix indentation in `slice` class of `functions.rst` (GH-…
miss-islington Jun 25, 2025
c8e914c
[3.14] gh-135721: skip `test_trashcan_python_class` on wasm buildbots…
miss-islington Jun 25, 2025
568f50e
[3.14] Add whatsnew text for warnings module changes. (gh-135869) (gh…
miss-islington Jun 26, 2025
3b5d82a
[3.14] gh-135956: Remove duplicate word in _pydatetime docstring (GH-…
miss-islington Jun 26, 2025
e5abdbf
[3.14] gh-131591: Add Py_ prefix to MAX_SCRIPT_PATH_SIZE; remove unpr…
miss-islington Jun 26, 2025
a797fe1
[3.14] gh-135755: Move `PyFunction_GET_BUILTINS` to the private API (…
miss-islington Jun 26, 2025
03711fb
[3.14] gh-125206: Make _Py_FFI_SUPPORT_C_COMPLEX private (GH-135932) …
miss-islington Jun 26, 2025
19740b7
[3.14] gh-135965: Delete duplicate word in isolating-extensions howto…
miss-islington Jun 26, 2025
ad6c90f
[3.14] gh-135110: Fix misleading `generator.close()` documentation (G…
miss-islington Jun 26, 2025
8752b08
[3.14] gh-91555: add warning to docs about possibility of deadlock/in…
miss-islington Jun 26, 2025
2045453
[3.14] gh-129958: New syntax error in format spec applies to both f-s…
miss-islington Jun 26, 2025
4ba1812
[3.14] GH-133600: Backport file reorg of `Tools/wasm/wasi` (GH-135950)
brettcannon Jun 26, 2025
29cb4d6
[3.14] IDLE: Update NEWS2x.txt with 2.7.0 release date (GH-129908) (#…
miss-islington Jun 26, 2025
9798a8d
[3.14] gh-135995: Fix missing char in palmos encoding (GH-135990) (#1…
miss-islington Jun 26, 2025
b99a417
[3.14] Docs: Fix duplicate word typos (GH-135958) (GH-136007)
miss-islington Jun 27, 2025
10211a7
[3.14] gh-135968: Add iOS binary stubs for strip (GH-135970) (#136014)
miss-islington Jun 27, 2025
78de34f
[3.14] gh-135966: Modify iOS testbed to make app_packages a site dire…
miss-islington Jun 27, 2025
a168c77
[3.14] gh-53203: Fix strptime() for %c, %x and %X formats on some loc…
miss-islington Jun 27, 2025
33c83ce
[3.14] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (GH-1…
miss-islington Jun 27, 2025
1b21868
[3.14] gh-78465: Fix error message for cls.__new__(cls, ...) where cl…
miss-islington Jun 27, 2025
7e4637e
[3.14] gh-92266: Replace tabs with four spaces in Python files (GH-13…
miss-islington Jun 27, 2025
3bd4a49
[3.14] gh-136028: Fix parsing month names containing "İ" (U+0130) in …
miss-islington Jun 27, 2025
eff347c
[3.14] gh-108765: fix comment about macro definitions in `_stat.c` po…
miss-islington Jun 27, 2025
7028095
[3.14] gh-135755: rename undocumented `HACL_CAN_COMPILE_SIMD{128,256}…
picnixz Jun 28, 2025
c9c51bd
[3.14] gh-135571: Guard `_hashlib` usage in `test_hashlib.py` (GH-135…
picnixz Jun 28, 2025
42e13b8
[3.14] gh-76595: Add note on `PyCapsule_Import` behavior (GH-134022) …
miss-islington Jun 28, 2025
c66b54f
[3.14] gh-91048: Fix external inspection multi-threaded performance (…
pablogsal Jun 28, 2025
7df3eee
[3.14] Doc: Fix duplicate words in idlelib (GH-136089) (#136090)
miss-islington Jun 29, 2025
ce65956
[3.14] gh-136053: Check error for TYPE_SLICE in marshal.c (GH-136054)…
miss-islington Jun 29, 2025
231d801
[3.14] gh-127604: Docs: Include a C stack in the `faulthandler` examp…
miss-islington Jun 29, 2025
eb8ed2a
[3.14] gh-123299: Provide replacement for removed sqlite3 attributes …
miss-islington Jun 29, 2025
5e65cbb
[3.14] Doc: fix duplicated words (GH-136086) (#136108)
miss-islington Jun 29, 2025
2e6d3f0
[3.14] gh-136087: Remove `\r` from documented `os.linesep` values (GH…
miss-islington Jun 30, 2025
130d40a
[3.14] gh-132813: Fix the csv documentation for quoting and escaping …
miss-islington Jun 30, 2025
ed7719a
[3.14] gh-131885: Update documented signatures for `csv.{writer,reade…
miss-islington Jun 30, 2025
729b674
[3.14] gh-48181: Document `codecs.charmap_build` (GH-135997) (#136123)
miss-islington Jun 30, 2025
3267847
[3.14] gh-135607: remove null checking of weakref list in dealloc of …
vstinner Jun 30, 2025
71bd3d0
[3.14] gh-136122: Fix video link for math.tau documentation (GH-13612…
miss-islington Jun 30, 2025
e86ac72
[3.14] gh-85702: Catch PermissionError in zoneinfo.load_tzdata() (GH-…
miss-islington Jun 30, 2025
401032a
[3.14] gh-63207: Update `time.time` documentation after GH-116822 (GH…
miss-islington Jun 30, 2025
ebab7c8
[3.14] gh-134939: Fill Out the concurrent.interpreters Docs (gh-136141)
miss-islington Jun 30, 2025
028901e
[3.14] gh-133982: Use implementation-specific `open` in `test_fileio.…
miss-islington Jun 30, 2025
665a682
[3.14] gh-135755: Use private names (_Py*) for header file guards new…
miss-islington Jul 1, 2025
df4e87b
[3.14] gh-136169: Update parameter name in fractions.from_float metho…
miss-islington Jul 1, 2025
f152d60
[3.14] gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers (GH…
miss-islington Jul 1, 2025
5e09d19
[3.14] gh-87298: Add tests for find_in_strong_cache() bug in _zoneinf…
miss-islington Jul 1, 2025
3bc4294
[3.14] GH-134273: Allow setting JIT compiler flags at build time with…
miss-islington Jul 1, 2025
8ba024d
[3.14] gh-134280: Disable constant folding for ~ with a boolean argum…
miss-islington Jul 2, 2025
23a990d
[3.14] gh-115119: Defer removal of bundled libmpdec to 3.16 (GH-13399…
skirpichev Jul 2, 2025
388e8c3
[3.14] Replace `capi-sig` mailing list with `discuss.python.org` (GH-…
miss-islington Jul 2, 2025
b86d3f0
[3.14] gh-136135: Doc: Fix some broken links (GH-136137) (GH-136220)
miss-islington Jul 3, 2025
8810ccf
[3.14] gh-135836: Fix `IndexError` in `asyncio.create_connection` wit…
miss-islington Jul 3, 2025
5216a6c
[3.14] gh-135836: Fix `IndexError` in `asyncio.create_connection()` (…
miss-islington Jul 3, 2025
8dcf3ed
[3.14] gh-127705: Move Py_INCREF_MORTAL() to the internal C API (GH-1…
miss-islington Jul 3, 2025
1a4f92b
[3.14] gh-135640: Adds more type checking to ElementTree (GH-135643) …
miss-islington Jul 3, 2025
84cafc7
[3.14] Fix comments for `heapq.siftup_max` (GH-135359) (#136232)
miss-islington Jul 3, 2025
4bc9c01
[3.14] gh-135069: Fix exception message in encodings.idna module (GH-…
miss-islington Jul 3, 2025
150262d
[3.14] gh-133740: Fix regression in locale.nl_langinfo(ALT_DIGITS) (G…
miss-islington Jul 3, 2025
4877f43
[3.14] gh-130664: Treat '0' fill character with align '=' as zero-pad…
miss-islington Jul 3, 2025
ea84943
[3.14] gh-115119: Recommend upstream libmpdec in build requirements (…
miss-islington Jul 3, 2025
e39f332
[3.14] gh-135252: Document Zstandard integration across zipfile, shut…
miss-islington Jul 3, 2025
03ce4b2
[3.14] gh-135661: Fix parsing start and end tags in HTMLParser accord…
miss-islington Jul 3, 2025
2449f77
[3.14] Clarify some details regarding `sys.monitoring` (GH-133981) (G…
miss-islington Jul 3, 2025
fa7e76e
[3.14] gh-102555: Fix comment parsing in HTMLParser according to the …
miss-islington Jul 4, 2025
f2f3edb
[3.14] gh-135773: have pyvenv.cfg without home key anchor a venv and …
miss-islington Jul 4, 2025
1a2898a
[3.14] Docs: Move "or" outside monospace syntax in `tarfile.rst` (GH-…
miss-islington Jul 4, 2025
6d21cc5
[3.14] gh-136288: Fix error message in `_testcapi/vectorcall.c` (GH-1…
miss-islington Jul 4, 2025
c62c523
[3.14] gh-136297: Test all `pickle` protocols in `test_zoneinfo_prope…
miss-islington Jul 5, 2025
53584d3
[3.14] gh-101100: Fix references in `http.cookiejar` docs (GH-136238)…
miss-islington Jul 5, 2025
2b2cf81
[3.14] gh-136315: Fix skipped multithreading test in test_zstd (GH-13…
miss-islington Jul 5, 2025
d86ca7b
[3.14] gh-136285: Improve `pickle` protocol testing in `test_interpre…
miss-islington Jul 6, 2025
3ea7276
[3.14] gh-129824: fix data races in subinterpreters under TSAN (GH-13…
miss-islington Jul 6, 2025
5b65df7
[3.14] gh-109700: fix memory error handling in `PyDict_SetDefault` (G…
miss-islington Jul 6, 2025
bd97cb8
[3.14] gh-109070: Document that get_context in multiprocessing have s…
miss-islington Jul 6, 2025
3d01565
[3.14] gh-136316: Make typing.evaluate_forward_ref better at evaluati…
JelleZijlstra Jul 7, 2025
22fad16
[3.14] gh-109700: fix interpreter finalization while handling memory …
miss-islington Jul 7, 2025
aa1800b
[3.14] gh-127502: Remove XML vulnerability table (GH-135294) (#136359)
miss-islington Jul 7, 2025
8f06a9c
[3.14] gh-94503: Update logging cookbook with an example of uniformly…
miss-islington Jul 7, 2025
46a7981
[3.14] GH-135106: Restrict trashcan to GC'ed objects (GH-135682) (#13…
miss-islington Jul 7, 2025
41d1683
[3.14] GH-133932: Tagged ints are heap safe (GH-134244) (#134494)
miss-islington Jul 7, 2025
57d6db5
[3.14] gh-136289: Fix test_sqlite3 on platforms with strict UTF-8 fil…
miss-islington Jul 7, 2025
b2a2f03
[3.14] gh-130662: Accept leading zeros in precision/width for Fractio…
miss-islington Jul 7, 2025
f87578f
[3.14] gh-130662: Accept leading zeros in precision/width for Decimal…
miss-islington Jul 7, 2025
f02be2d
[3.14] gh-101100: Fix sphinx warnings in `whatsnew/3.9` (GH-136163) (…
miss-islington Jul 7, 2025
5df4f35
[3.14] gh-135755: Document __future__.* and CO_* as proper Sphinx obj…
miss-islington Jul 7, 2025
236498c
[3.14] gh-131591: Document Py_REMOTE_DEBUG (GH-135929) (GH-136374)
miss-islington Jul 7, 2025
a7dd48a
[3.14] gh-86682: Add versionadded for sys._getframemodulename (GH-136…
miss-islington Jul 7, 2025
d9c36a7
[3.14] gh-124486: Fix test_whichdb_ndbm in test_dbm on NetBSD (GH-136…
miss-islington Jul 7, 2025
442b781
[3.14] gh-87790: support thousands separators for formatting fraction…
miss-islington Jul 7, 2025
e255313
[3.14] gh-87790: support thousands separators for formatting fraction…
miss-islington Jul 7, 2025
5a7d266
[3.14] gh-101100: Fix Sphinx warnings in library/email.compat32-messa…
miss-islington Jul 7, 2025
c726990
[3.14] gh-135906: Use `_PyObject_CAST` in internal headers (GH-135892…
miss-islington Jul 7, 2025
e1e9d95
[3.14] gh-136032: Fix `argparse.BooleanOptionalAction` doc (GH-136133…
miss-islington Jul 8, 2025
78e5d10
[3.14] gh-135913: Document ob_refcnt, ob_type, ob_size (GH-135914) (G…
miss-islington Jul 8, 2025
cdeaa64
[3.14] gh-102567: Add missing newline to `--help-all` (GH-136391) (GH…
miss-islington Jul 8, 2025
2733b29
[3.14] gh-101100: Fix sphinx warnings in `whatsnew/3.11.rst` (GH-1364…
miss-islington Jul 8, 2025
3296d9b
[3.14] gh-136155: Docs: only add custom OpenGraph protocol meta tags …
miss-islington Jul 8, 2025
145c086
[3.14] gh-136297: Fix `hypothesis` and `subTest` usage in `test_zonei…
miss-islington Jul 8, 2025
376e037
[3.14] gh-120713: Make _Py_NORMALIZE_CENTURY private (GH-135933) (#13…
miss-islington Jul 8, 2025
7ec1fab
Python 3.14.0b4
hugovk Jul 8, 2025
f0e6034
[3.14] gh-101100: Fix sphinx warnings in `Doc/library/exceptions.rst`…
miss-islington Jul 8, 2025
78c1227
[3.14] gh-136186: Fix race condition in test_external_inspection.test…
miss-islington Jul 8, 2025
7235861
Post 3.14.0b4
hugovk Jul 8, 2025
0a15ae7
Merge branch '3.14' of https://github.com/python/cpython into 3.14
hugovk Jul 8, 2025
f937b9f
[3.14] gh-136380: Fix import behavior for `concurrent.futures.Interpr…
miss-islington Jul 8, 2025
66f85f4
[3.14] Update bytecode magic number in tests for the 3.14 release can…
miss-islington Jul 8, 2025
6a2a290
[3.14] GH-133136: Revise QSBR to reduce excess memory held (gh-135473…
miss-islington Jul 8, 2025
9a79c51
[3.14] gh-91048: Revert the memory cache removal for remote debugging…
miss-islington Jul 9, 2025
e0b9f07
[3.14] gh-136229: Remove Platform Emscripten is not supported warning…
miss-islington Jul 9, 2025
2cb5792
[3.14] gh-94503: Update logging cookbook example with info on address…
miss-islington Jul 9, 2025
85df16b
[3.14] gh-53243: Document `codecs.readbuffer_encode()` (GH-136284) (#…
miss-islington Jul 9, 2025
a9d2f08
[3.14] gh-136162: Document `encodings` package functions (GH-136164) …
miss-islington Jul 9, 2025
c29fce0
[3.14] gh-134657: Remove newly added private names from asyncio.__all…
miss-islington Jul 9, 2025
19518a4
[3.14] gh-136447: Use `self.loop` instead of global `loop` variable i…
miss-islington Jul 9, 2025
90717c2
[3.14] Docs: unittest.enterModuleContext is not a classmethod (GH-136…
miss-islington Jul 9, 2025
75640d4
[3.14] gh-131825: Fix `sqlite3` timezone-naive adapter recipe (GH-136…
miss-islington Jul 9, 2025
7835940
[3.14] gh-81520: Document unexpected `os.path.ismount` behaviour with…
miss-islington Jul 9, 2025
4db5675
[3.14] gh-136145: Define 'standard library' and 'stdlib' in the gloss…
miss-islington Jul 9, 2025
b733bf7
[3.14] gh-102740: Clarify time.monotonic() "system-wide" in the doc (…
miss-islington Jul 9, 2025
4d025a2
[3.14] gh-136476: Show the full stack in get_async_stack_trace in _re…
miss-islington Jul 9, 2025
7937f16
[3.14] gh-135846: Add zstd dependency to Android build script (GH-136…
miss-islington Jul 10, 2025
7880421
[3.14] gh-136476: Remove creation of unused list (GH-136494) (GH-136495)
miss-islington Jul 10, 2025
2de82bc
[3.14] gh-136438: Make sure `test_builtins` pass with all optimizatio…
miss-islington Jul 10, 2025
1346049
[3.14] gh-136209: Add .. c:var:: declarations for C exception types (…
miss-islington Jul 10, 2025
da8bcfd
[3.14] gh-136394: Fix race condition in test_zstd (GH-136432) (GH-136…
miss-islington Jul 10, 2025
95baa28
[3.14] gh-132661: Add default value (of `""`) for `Interpolation.expr…
miss-islington Jul 10, 2025
326fe0d
[3.14] gh-82663: Clarify `codecs.iterdecode/encode` docs (GH-136497) …
miss-islington Jul 10, 2025
183b020
[3.14] gh-52876: Implement missing parameter in `codecs.StreamReaderW…
miss-islington Jul 10, 2025
ec15251
[3.14] gh-101100: Fix sphinx warnings in `library/email.parser.rst` (…
miss-islington Jul 11, 2025
fdad319
[3.14] gh-76637: Note that `undefined` Codec is for testing (GH-13653…
miss-islington Jul 11, 2025
a464c4e
[3.14] gh-136434: Fix docs generation of `UnboundItem` in subinterpre…
miss-islington Jul 11, 2025
5535482
[3.14] gh-136541: Fix several problems of perf trampolines in x86_64 …
miss-islington Jul 11, 2025
e03db73
[3.14] gh-136517: Print uncollectable objects if DEBUG_UNCOLLECTABLE …
miss-islington Jul 11, 2025
3b28b40
[3.14] gh-130478: fix HACL* build for macOS Silicon (GH-134188) (#135…
miss-islington Jul 11, 2025
e4e86a1
[3.14] gh-130160: use `.. program::` directive for documenting `venv`…
miss-islington Jul 11, 2025
ac807cb
[3.14] gh-101100: Fix sphinx warnings in Doc/library/functools.rst (G…
miss-islington Jul 11, 2025
33f561d
[3.14] gh-89083: Add CLI tests for `UUIDv{6,7,8}` (GH-136548) (#136576)
miss-islington Jul 12, 2025
8a8c015
Cline fix for get_payload UnboundLocalError
singlarohit11 Jul 17, 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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*.ico binary
*.jpg binary
*.pck binary
*.pdf binary
*.png binary
*.psd binary
*.tar binary
Expand Down Expand Up @@ -67,6 +68,7 @@ PCbuild/readme.txt dos
**/clinic/*.cpp.h generated
**/clinic/*.h.h generated
*_db.h generated
Doc/c-api/lifecycle.dot.svg generated
Doc/data/stable_abi.dat generated
Doc/library/token-list.inc generated
Include/internal/pycore_ast.h generated
Expand Down
18 changes: 16 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,13 @@ Doc/howto/clinic.rst @erlend-aasland
# Subinterpreters
**/*interpreteridobject.* @ericsnowcurrently
**/*crossinterp* @ericsnowcurrently
Lib/test/support/interpreters/ @ericsnowcurrently
Modules/_interp*module.c @ericsnowcurrently
Lib/test/test__interp*.py @ericsnowcurrently
Lib/concurrent/interpreters/ @ericsnowcurrently
Lib/test/support/channels.py @ericsnowcurrently
Doc/library/concurrent.interpreters.rst @ericsnowcurrently
Lib/test/test_interpreters/ @ericsnowcurrently
Lib/concurrent/futures/interpreter.py @ericsnowcurrently

# Android
**/*Android* @mhsmith @freakboy3742
Expand All @@ -298,7 +302,12 @@ Lib/test/test_interpreters/ @ericsnowcurrently
**/*-ios* @freakboy3742

# WebAssembly
/Tools/wasm/ @brettcannon @freakboy3742
Tools/wasm/config.site-wasm32-emscripten @freakboy3742
/Tools/wasm/README.md @brettcannon @freakboy3742
/Tools/wasm/wasi-env @brettcannon
/Tools/wasm/wasi_build.py @brettcannon
/Tools/wasm/emscripten @freakboy3742
/Tools/wasm/wasi @brettcannon

# SBOM
/Misc/externals.spdx.json @sethmlarson
Expand Down Expand Up @@ -326,3 +335,8 @@ Modules/_xxtestfuzz/ @ammaraskar
**/*templateobject* @lysnikolaou
**/*templatelib* @lysnikolaou
**/*tstring* @lysnikolaou

# Remote debugging
Python/remote_debug.h @pablogsal
Python/remote_debugging.c @pablogsal
Modules/_remote_debugging_module.c @pablogsal @ambv @1st1
55 changes: 54 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-reusable
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
# 'group' must be a key uniquely representing a PR or push event.
# github.workflow is the workflow name
# github.actor is the user invoking the workflow
# github.head_ref is the source branch of the PR or otherwise blank
# github.run_id is a unique number for the current run
group: ${{ github.workflow }}-${{ github.actor }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
Expand Down Expand Up @@ -43,6 +49,53 @@ jobs:
if: fromJSON(needs.build-context.outputs.run-docs)
uses: ./.github/workflows/reusable-docs.yml

check-abi:
name: 'Check if the ABI has changed'
runs-on: ubuntu-22.04 # 24.04 causes spurious errors
needs: build-context
if: needs.build-context.outputs.run-tests == 'true'
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
sudo ./.github/workflows/posix-deps-apt.sh
sudo apt-get install -yq abigail-tools
- name: Build CPython
env:
CFLAGS: -g3 -O0
run: |
# Build Python with the libpython dynamic library
./configure --enable-shared
make -j4
- name: Check for changes in the ABI
id: check
run: |
if ! make check-abidump; then
echo "Generated ABI file is not up to date."
echo "Please add the release manager of this branch as a reviewer of this PR."
echo ""
echo "The up to date ABI file should be attached to this build as an artifact."
echo ""
echo "To learn more about this check: https://devguide.python.org/getting-started/setup-building/index.html#regenerate-the-abi-dump"
echo ""
exit 1
fi
- name: Generate updated ABI files
if: ${{ failure() && steps.check.conclusion == 'failure' }}
run: |
make regen-abidump
- uses: actions/upload-artifact@v4
name: Publish updated ABI files
if: ${{ failure() && steps.check.conclusion == 'failure' }}
with:
name: abi-data
path: ./Doc/data/*.abi

check-autoconf-regen:
name: 'Check if Autoconf files are up to date'
# Don't use ubuntu-latest but a specific version to make the job
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ on:
- "Lib/test/libregrtest/**"
- "Lib/tomllib/**"
- "Misc/mypy/**"
- "Tools/build/compute-changes.py"
- "Tools/build/deepfreeze.py"
- "Tools/build/generate_sbom.py"
- "Tools/build/generate-build-details.py"
- "Tools/build/verify_ensurepip_wheels.py"
- "Tools/build/update_file.py"
- "Tools/build/umarshal.py"
- "Tools/cases_generator/**"
- "Tools/clinic/**"
- "Tools/jit/**"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/posix-deps-apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ apt-get -yq install \
libreadline6-dev \
libsqlite3-dev \
libssl-dev \
libzstd-dev \
lzma \
lzma-dev \
strace \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reusable-context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ jobs:
run: python Tools/build/compute-changes.py
env:
GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
GITHUB_EVENT_NAME: ${{ github.event_name }}
CCF_TARGET_REF: ${{ github.base_ref || github.event.repository.default_branch }}
CCF_HEAD_REF: ${{ github.event.pull_request.head.sha || github.sha }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reusable-wasi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
# (Make sure to keep the key in sync with the other config.cache step below.)
key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ env.WASI_SDK_VERSION }}-${{ env.WASMTIME_VERSION }}-${{ inputs.config_hash }}-${{ hashFiles('Tools/wasm/wasi.py') }}-${{ env.pythonLocation }}
- name: "Configure build Python"
run: python3 Tools/wasm/wasi.py configure-build-python -- --config-cache --with-pydebug
run: python3 Tools/wasm/wasi configure-build-python -- --config-cache --with-pydebug
- name: "Make build Python"
run: python3 Tools/wasm/wasi.py make-build-python
run: python3 Tools/wasm/wasi make-build-python
- name: "Restore host config.cache"
uses: actions/cache@v4
with:
Expand All @@ -75,9 +75,9 @@ jobs:
key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ env.WASI_SDK_VERSION }}-${{ env.WASMTIME_VERSION }}-${{ inputs.config_hash }}-${{ hashFiles('Tools/wasm/wasi.py') }}-${{ env.pythonLocation }}
- name: "Configure host"
# `--with-pydebug` inferred from configure-build-python
run: python3 Tools/wasm/wasi.py configure-host -- --config-cache
run: python3 Tools/wasm/wasi configure-host -- --config-cache
- name: "Make host"
run: python3 Tools/wasm/wasi.py make-host
run: python3 Tools/wasm/wasi make-host
- name: "Display build info"
run: make --directory "${CROSS_BUILD_WASI}" pythoninfo
- name: "Test"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tail-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,3 @@ jobs:
CC=clang-20 ./configure --with-tail-call-interp --disable-gil
make all --jobs 4
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -171,5 +171,6 @@ Python/frozen_modules/MANIFEST
/python
!/Python/

# main branch only: ABI files are not checked/maintained.
Doc/data/python*.abi
# People's custom https://docs.anthropic.com/en/docs/claude-code/memory configs.
/.claude/
CLAUDE.local.md
15 changes: 13 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ repos:
name: Run Black on Tools/jit/
files: ^Tools/jit/

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-tabs
types: [python]
exclude: ^Tools/c-analyzer/cpython/_parser.py

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
Expand All @@ -43,10 +50,14 @@ repos:
exclude: ^Lib/test/test_tomllib/
- id: check-yaml
- id: end-of-file-fixer
types: [python]
types_or: [python, yaml]
exclude: Lib/test/tokenizedata/coding20731.py
- id: end-of-file-fixer
files: '^\.github/CODEOWNERS$'
- id: trailing-whitespace
types_or: [c, inc, python, rst, yaml]
- id: trailing-whitespace
types_or: [c, inc, python, rst]
files: '^\.github/CODEOWNERS|\.(gram)$'

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.33.0
Expand Down
1 change: 0 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ build:
- make -C Doc venv html
- mkdir _readthedocs
- mv Doc/build/html _readthedocs/html

4 changes: 4 additions & 0 deletions Android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ repository's `Lib` directory will be picked up immediately. Changes in C files,
and architecture-specific files such as sysconfigdata, will not take effect
until you re-run `android.py make-host` or `build`.

The testbed app can also be used to test third-party packages. For more details,
run `android.py test --help`, paying attention to the options `--site-packages`,
`--cwd`, `-c` and `-m`.


## Using in your own app

Expand Down
6 changes: 3 additions & 3 deletions Android/android-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
: "${HOST:?}" # GNU target triplet

# You may also override the following:
: "${api_level:=24}" # Minimum Android API level the build will run on
: "${ANDROID_API_LEVEL:=24}" # Minimum Android API level the build will run on
: "${PREFIX:-}" # Path in which to find required libraries


Expand All @@ -24,7 +24,7 @@ fail() {
# * https://android.googlesource.com/platform/ndk/+/ndk-rXX-release/docs/BuildSystemMaintainers.md
# where XX is the NDK version. Do a diff against the version you're upgrading from, e.g.:
# https://android.googlesource.com/platform/ndk/+/ndk-r25-release..ndk-r26-release/docs/BuildSystemMaintainers.md
ndk_version=27.1.12297006
ndk_version=27.2.12479018

ndk=$ANDROID_HOME/ndk/$ndk_version
if ! [ -e "$ndk" ]; then
Expand All @@ -43,7 +43,7 @@ fi
toolchain=$(echo "$ndk"/toolchains/llvm/prebuilt/*)
export AR="$toolchain/bin/llvm-ar"
export AS="$toolchain/bin/llvm-as"
export CC="$toolchain/bin/${clang_triplet}${api_level}-clang"
export CC="$toolchain/bin/${clang_triplet}${ANDROID_API_LEVEL}-clang"
export CXX="${CC}++"
export LD="$toolchain/bin/ld"
export NM="$toolchain/bin/llvm-nm"
Expand Down
Loading