Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
2887814
Document that `PyErr_SetRaisedException()` accepts `NULL`
philthompson10 Jun 1, 2026
825ca88
Merge branch 'main' into issue/150663
philthompson10 Jun 1, 2026
3e1e83a
Merge branch 'python:main' into issue/150663
philthompson10 Jun 3, 2026
4d07172
Document that `PyErr_SetRaisedException()` accepts `NULL`
philthompson10 Jun 3, 2026
e1bf6a2
gh-148613: Fix race in `gc_set_threshold` and `gc_get_threshold` (#15…
LindaSummer Jun 3, 2026
7c4b466
gh-146636: Add Free-threaded Stable ABI migration guide (GH-150580)
encukou Jun 3, 2026
d502edf
Fix a typo in `SSLSocket` docs (GH-150839)
robsdedude Jun 3, 2026
c605ffe
gh-141004: Document unstable perf map functions in `ceval.h` (GH-143492)
Yashp002 Jun 3, 2026
2872c95
gh-105812: Make use of the Sphinx `deco` role in documentation (#139598)
Viicos Jun 3, 2026
fc2227d
Correct Stable ABI documentation for METH_FASTCALL (GH-149593)
da-woods Jun 3, 2026
9fa2435
gh-132467: Document and test that generic aliases are not classes (#1…
AbduazizZiyodov Jun 3, 2026
1fadf7f
Docs: Replace hardcoded `SOURCE_URI` with `patchlevel` check (#150850)
hugovk Jun 3, 2026
cf354f3
gh-150032: Tidy up 3.15 pending removals (#149594)
StanFromIreland Jun 3, 2026
bb4cd79
gh-145177: Fix Emscripten help text (#150874)
hoodmane Jun 4, 2026
445d45c
Manpage formatting tweaks & lint (GH-132338)
stefanor Jun 4, 2026
e334aa1
gh-119670: Add `force` keyword only argument to `shlex.quote` (#148846)
jb2170 Jun 4, 2026
d9166af
Fix 2 broken links in documentation (#150892)
hroncok Jun 4, 2026
de8db1f
bpo-38131: Improve messages when generating AST nodes from objects wi…
isidentical Jun 4, 2026
3b92926
gh-106318: Add doctest role and a 'See also' to the `str.split()` doc…
adorilson Jun 4, 2026
70fd181
gh-150750: Fix a race condition in `deque.index` with free-threading …
sobolevn Jun 4, 2026
d7a242e
gh-150913: Fix sqlite3.Blob validation for empty slice assignment (GH…
ever0de Jun 4, 2026
8b847ff
gh-84649: Make TimedRotatingFileHandler use CTIME instead of MTIME (G…
martonivan Jun 4, 2026
0b6eb23
GH-148960: Ensure that asserts are ignored if `NDEBUG` is set (#150916)
markshannon Jun 4, 2026
2f8edef
gh-150818: Speed up logging.getLogger() for existing loggers (GH-150825)
gaborbernat Jun 4, 2026
ea0dbd1
gh-150817: Speed up Flag bitwise operations (GH-150824)
gaborbernat Jun 4, 2026
f484684
gh-150886: Remove unused importlib._bootstrap._object_name (#150884)
gaborbernat Jun 4, 2026
81f47ce
Add shebang documentation for PyManager 26.3b1 (GH-150931)
zooba Jun 4, 2026
0e63794
gh-145177: Bump emscripten version to 4.0.19 (#150926)
hoodmane Jun 5, 2026
b85a74b
gh-62825: Fix encoding aliases "KS_C_5601-1987", "KS X 1001", etc (GH…
serhiy-storchaka Jun 5, 2026
4096ece
gh-150899: Do not reset custom `-Xlazy_imports` mode in `test_lazy_im…
sobolevn Jun 5, 2026
d053889
gh-129011: Update docs for Raw I/O read, readinto, and write (#135328)
cmaloney Jun 5, 2026
2644508
gh-149891: Add more encoding aliases (GH-149892)
serhiy-storchaka Jun 5, 2026
34b227a
gh-150907: Fix dynamic_annotations.h when built with C++ and Valgrind…
vstinner Jun 5, 2026
3bfa420
gh-84649: Fix unstable test_rollover_based_on_st_birthtime_only (GH-1…
serhiy-storchaka Jun 5, 2026
b721ebc
gh-53144: Improve charset support in the email package (GH-149942)
serhiy-storchaka Jun 5, 2026
1765da4
gh-146527: Fix memory leak in _PyGC_Fini() (#150969)
vstinner Jun 5, 2026
f1d6076
gh-150818: Wire logger parent before publishing it in getLogger() (GH…
gaborbernat Jun 5, 2026
5c81757
gh-149977: Fix extra output of `-m test test_lazy_import`, again (#15…
sobolevn Jun 5, 2026
9adf3ed
gh-150436: Check returncode in Win32ProcessTestCase (#150972)
vstinner Jun 5, 2026
0e46764
gh-110631: Fix wrong blocks indentation in difflib.rst (GH-110885)
ezio-melotti Jun 5, 2026
8e5ab6a
Use `time.monotonic` in OrderedDict LRU cache example (#150986)
ilya-nikolaev Jun 5, 2026
9974822
gh-150207: Raise MemoryError on tokenizer allocation failure instead …
grantlouisherman Jun 6, 2026
16fd111
gh-150662: Stop unbounded memory growth in Tachyon `--gecko` collecto…
maurycy Jun 6, 2026
988c367
gh-148832: Use `-icf=0` in BOLT_APPLY_FLAGS (gh-148833)
ashm-dev Jun 6, 2026
e3d14d2
gh-150889: Improve performance of unicodedata.normalize() (GH-150890)
eendebakpt Jun 6, 2026
1bea556
gh-84649: Use statx() in TimedRotatingFileHandler if available (ПР-15…
serhiy-storchaka Jun 6, 2026
3b9c40f
gh-149835: Use realpath() instead of abspath() in shutil.move() (GH-1…
KowalskiThomas Jun 6, 2026
61c8eb4
gh-150534: Add C23 half-turn trigonometric *pi functions (GH-150555)
jepler Jun 6, 2026
34e8d6f
Doc: fix order of PyLong_FromUnsignedLongLong (#150937)
methane Jun 6, 2026
6dd6ce5
Delete mention encoding and errors for importlib.resources.path() (GH…
shadchin Jun 6, 2026
e4308c5
gh-149083: Use sentinel for urllib.parse._UNSPECIFIED (#149612)
JelleZijlstra Jun 6, 2026
fa2eb1e
gh-150411: fix `gc_generation.count` race in free-threading (#150413)
LindaSummer Jun 6, 2026
944bc52
gh-50948: IDLE: Warn if saving a file will overwrite a newer version …
ZackerySpytz Jun 6, 2026
ff25dca
gh-148954: Escape methodname in xmlrpc.client.dumps() to prevent XML …
sanyamk23 Jun 6, 2026
74eba4e
gh-150942: Speed up frame local item collection (gh-151002)
omkar-334 Jun 7, 2026
a0d73f3
gh-150942: Speed up re.findall and re.sub/subn result building (gh-15…
eendebakpt Jun 7, 2026
ed14238
gh-151021: Fix mmap empty searches past the end (GH-151023)
esadomer Jun 7, 2026
77b5cd3
gh-150885: Remove unused shutil._ensure_directory (GH-150883)
gaborbernat Jun 7, 2026
c6f2b1e
gh-150599: Prevent bz2 decompressor reuse after errors (#150600)
StanFromIreland Jun 7, 2026
022667a
Update an error message in the 'Functional Programming HOWTO' (#151047)
Saber0324 Jun 7, 2026
7c7e3da
gh-69619: Clarify "whitespace" in the `str.{l,r}strip()` documentatio…
kyo5uke Jun 7, 2026
a540b7a
Docs: Fix missing colon in `bisect` example function (GH-151061)
sergiolpzgmz Jun 8, 2026
90e9443
gh-101100: Fix Sphinx warnings in 'Buffer Object Structures' document…
czinck Jun 8, 2026
37f9353
gh-151059: [perf] Use `PyObject_CallMethodOneArg` in datetime's `call…
eendebakpt Jun 8, 2026
4e40f62
Mention `frozendict` in `object.__hash__()` documentation (#148867)
jonathandung Jun 8, 2026
bd13b76
gh-141623: operator.rst: don't use term "bitwise" (GH-141846)
doronbehar Jun 8, 2026
70a3825
gh-106318: Add examples to the `str.isdigit()` method docs (#144721)
adorilson Jun 8, 2026
af82321
Fix a typo in the `SECURITY.md` (#151086)
StanFromIreland Jun 8, 2026
a06d90a
gh-151019: Fix test_os on 32-bit FreeBSD (#151087)
vstinner Jun 8, 2026
ddfd9dc
gh-148932: Fix `profiling.sampling` on Windows virtual environments (…
edvilme Jun 8, 2026
ae62007
gh-150633: Properly handle null characters in the name when importing…
KowalskiThomas Jun 8, 2026
e40cdf2
gh-150633: Minor improvement of a newly added test (#151103)
warsaw Jun 8, 2026
f46de35
gh-151070: Fix class referencing typo in collections.abc docs (GH-151…
arshalaromal Jun 8, 2026
90e9b92
gh-151126: Fix missing `PyErr_NoMemory()` in `remove_unused_consts` (…
sobolevn Jun 9, 2026
c24e0bb
gh-143008: Fix Null pointer dereferences in TextIOWrapper underlying …
cmaloney Jun 9, 2026
e84e311
gh-151130: Add more tests for PyWeakref_* C API (GH-151131)
serhiy-storchaka Jun 9, 2026
086589f
gh-151039: Fix a crash when `_datetime` types outlive `_datetime` mod…
sobolevn Jun 9, 2026
15464d1
Docs: Only add `profiling-sampling-visualization.{css,js}` to files w…
StanFromIreland Jun 9, 2026
71db66c
gh-150898: Assume OpenSSL supports keylogging (#150870)
robsdedude Jun 9, 2026
058408d
Docs: add cross-references to improve navigation in `getpass.rst` (#1…
sergiolpzgmz Jun 9, 2026
bd81be7
GH-54732: Tweak wording around empty lines in argument files (#150980)
savannahostrowski Jun 9, 2026
0163eec
GH-61082: Clarify nargs='*' positional default behavior (#150989)
savannahostrowski Jun 9, 2026
2b95d29
gh-150285: Fix too long docstrings in the asyncio package (GH-151074)
serhiy-storchaka Jun 9, 2026
ae445aa
gh-150285: Fix too long docstrings in the concurrent package (GH-151076)
serhiy-storchaka Jun 9, 2026
7e96037
gh-151126: Add missing `PyErr_NoMemory` in `_winapi` module (#151154)
sobolevn Jun 9, 2026
28df50d
GH-59633: Clarify dest collisions in argparse docs (#150987)
savannahostrowski Jun 9, 2026
7ddea21
gh-151159: Update Windows builds to use OpenSSL 3.5.7 (GH-151183)
zware Jun 9, 2026
bc0a174
gh-151159: Update macOS installer to use OpenSSL 3.5.7. (#151171)
ByteFlowing1337 Jun 9, 2026
b2f8b9d
gh-151159: Bump OpenSSL versions for iOS and Android (GH-151164)
zware Jun 9, 2026
eb510da
gh-151159: Update CI to use latest SSL library versions (#151176)
zware Jun 9, 2026
53ccdd0
gh-139819: rlcompleter – avoid suggesting attributes not accessible o…
ttw225 Jun 9, 2026
bbd2b5f
gh-151163: Update Android, macOS installer, and Windows builds to SQL…
zware Jun 9, 2026
dbd40b9
gh-151112: Fix double free in `assemble_init` when out of memory (#15…
StanFromIreland Jun 9, 2026
ff09eb9
gh-150700: Fix class-scope inline comprehensions when nested scopes r…
johnslavik Jun 9, 2026
513e89c
gh-145239: Colorize `case +` in the REPL (#150979)
johnslavik Jun 10, 2026
813aff6
gh-109940: Respect VIRTUAL_ENV_DISABLE_PROMPT in activate.bat (GH-151…
harjothkhara Jun 10, 2026
c6f8635
gh-149716: Document PySlot_DATA for Py_mod_gil and Py_mod_multiple_in…
Taeknology Jun 10, 2026
b6cd57e
gh-80384: Check that callback is callable at weak reference creation …
serhiy-storchaka Jun 10, 2026
1ae23a6
gh-150285: Wrap long single-line summary in text output in pydoc (GH-…
serhiy-storchaka Jun 10, 2026
3e7abf7
gh-98894: Fix DTrace test_check_probes for shared builds (#151122)
stratakis Jun 10, 2026
055db9d
Add yet one assertion in test_set_text_charset_cp949 (GH-151224)
serhiy-storchaka Jun 10, 2026
8921cbb
gh-150988: Fix refleak in `OSError` when attrs are set before `super(…
lgeiger Jun 10, 2026
263bc54
gh-150671: Deprecate `PyAsyncGen_New`, `PyCoro_New`, `PyGen_New`, `Py…
sobolevn Jun 10, 2026
610f4dd
gh-89554: Document socket.SocketType as a class (#150683)
gaborbernat Jun 10, 2026
c1cc237
gh-143988: Fix re-entrant mutation crashes in socket sendmsg/recvmsg_…
tonghuaroot Jun 10, 2026
584f5ce
Docs: Fix typos in the "Memory Management" section (GH-151243)
manoj-marimuthu Jun 10, 2026
6f0676b
add asyncio guide for Free-Threaded Python (#150456)
kumaraditya303 Jun 10, 2026
1a373fa
gh-141984: Reword the Generator expressions section (GH-150518)
encukou Jun 10, 2026
1798842
gh-62259: Add Tools/unicode/gen_expat_table.py (GH-150503)
serhiy-storchaka Jun 10, 2026
13d4497
gh-151126: Fix missing memory errors in `_interpchannelsmodule.c` (#1…
sobolevn Jun 10, 2026
16b5977
gh-151253: Dump the Python path configuration on _PyCodec_InitRegistr…
vstinner Jun 10, 2026
7957714
GHA: Display output when a sanitizer test fails (#151268)
vstinner Jun 10, 2026
29b3b75
gh-151278: Fix test_faulthandler on UBSan (#151279)
vstinner Jun 10, 2026
5b89464
gh-139819: Use builtin `sentinel` in `rlcompleter` (GH-151222)
Viicos Jun 10, 2026
d9ecd38
gh-136880: Add warning about PYTHONPATH (GH-151098)
glennglazer Jun 11, 2026
c73e462
gh-151295: Fix use-after-free in bytes.join()/bytearray.join() via re…
tonghuaroot Jun 11, 2026
4f43434
Drop historical `:author:`s from HOWTOs (#151091)
StanFromIreland Jun 11, 2026
a406230
gh-151177: Fix race condition in `_testembed` (GH-151293)
ZeroIntensity Jun 11, 2026
8cb6dc6
gh-151112: Move an `assert` that may fail in `cfg_builder_check` (#15…
StanFromIreland Jun 11, 2026
379deba
Remove unused internal _Py_REF_IS_QUEUED() function (#151236)
vstinner Jun 11, 2026
32debf1
gh-151284: Fix test_capi on UBSan (#151286)
vstinner Jun 11, 2026
59a525d
gh-123619: Fix PyUnstable_Object_EnableDeferredRefcount() (#151260)
vstinner Jun 11, 2026
9dab3c9
gh-151179: Fix pidfd leak in asyncio _PidfdChildWatcher (#151186)
deadlovelll Jun 11, 2026
95102f6
gh-150285: Suppress showing the __getstate__() comment in the help fo…
serhiy-storchaka Jun 11, 2026
10ffce9
gh-151238: Check for `_get_resized_exprs` failure in `_PyPegen_{joine…
StanFromIreland Jun 11, 2026
ffd6e2f
gh-150397: Fix pyexpat bigmem test (#151329)
vstinner Jun 11, 2026
3ed2f61
gh-151112: Fix crash in `compiler_mod()` when entering the current co…
StanFromIreland Jun 11, 2026
815b6ac
gh-150858: fix data race while changing `__qualname__` of a type obje…
KowalskiThomas Jun 11, 2026
546fecc
gh-139588: Fix nondeterministic `make latex` doc build under parallel…
m-aciek Jun 11, 2026
d2f87c0
gh-101100: Fix Sphinx nitpick in `unittest.mock.rst` (#151302)
cmaloney Jun 11, 2026
86df425
gh-151126: Fix missing memory error in `os._path_splitroot` (#151339)
sobolevn Jun 11, 2026
3d3a448
gh-151228: fix data race on clearing embedded dict values (#151330)
kumaraditya303 Jun 11, 2026
d0d4e35
gh-150490: Raise PyType_Modified for insertion into split dictionary …
DinoV Jun 11, 2026
67ee8cd
gh-150942: Speed up json.loads array and object decoding (GH-150945)
eendebakpt Jun 11, 2026
9cf40d9
gh-150285: Fix too long docstrings in GenericAlias and __class_getite…
serhiy-storchaka Jun 11, 2026
5245553
gh-138991: Update dataclass documentation for new eq behavior in Pyth…
Aniketsy Jun 11, 2026
33e8716
gh-150285: Fix overflow in too long lines for class data in pydoc (GH…
serhiy-storchaka Jun 11, 2026
367f9d6
Correct the docstring of `logging.config` (GH-151353)
ByteFlowing1337 Jun 11, 2026
9a5764c
gh-151337: Avoid possible memory leak in `_tkinter.c` on Windows. (GH…
ByteFlowing1337 Jun 11, 2026
365c8ce
gh-151065: Copy fix for memory leak from mimalloc upstream (GH-151066)
ZeroIntensity Jun 11, 2026
7adb0ef
gh-151297: Fix undefined behavior in `_PyObject_MiRealloc` (GH-151358)
godlygeek Jun 12, 2026
b5fe8fd
gh-151126: Fix crash on unset memory error in `ctypes.get_errno` (#15…
sobolevn Jun 12, 2026
4dc0415
Docs: avoid repetitions of class references in functions.rst (#150891)
m-aciek Jun 12, 2026
de3ff8f
Fix typos in the `curses.ascii` module documentation (#129300)
rffontenelle Jun 12, 2026
64053ce
gh-101267: ProcessPoolExecutor no longer shares 1 BrokenProcessPool e…
daniel-shields Jun 13, 2026
c52561e
Docs: Fix method directive signatures in `enum` docs (#151429)
jonathandung Jun 13, 2026
e6cd6b6
gh-77328: Update `base64` module RFC references to RFC 4648 (#151275)
StanFromIreland Jun 13, 2026
e0f4179
gh-151403: Fix use-after-free when an argv item's __fspath__ mutates …
tonghuaroot Jun 13, 2026
1af7a40
gh-151443: Fix documented default of `unittest.mock.mock_open`'s `re…
iamsharduld Jun 13, 2026
d9ed7e2
gh-151424: Fix impossible stack traces in `RemoteUnwinder(..., cache_…
maurycy Jun 13, 2026
cded199
gh-151428: Remove unused imports in the stdlib (#151440)
ByteFlowing1337 Jun 14, 2026
263e6ba
Skip test_highly_nested_objects_decoding during the PGO profile task.…
gpshead Jun 14, 2026
20525d3
gh-151461: Fix encoding-related exception handling in file tokenizer …
johnslavik Jun 14, 2026
8342134
gh-139837: Document attributes of objects recorded by warnings.catch_…
Aniketsy Jun 14, 2026
6442abd
gh-151428: Remove unused imports from `Tools/` (#151442)
ByteFlowing1337 Jun 14, 2026
113e2c0
gh-151390: Colorize `match +` and `match -` in the REPL (#151391)
johnslavik Jun 14, 2026
56445e6
gh-130197: Test `pygettext`'s `--version` CLI option (#133022)
StanFromIreland Jun 14, 2026
60919ec
gh-149671: Restore compatibility with setuptools -nspkg.pth files in …
vstinner Jun 15, 2026
fd03bda
Add `.toml` to `.editorconfig` (#151481)
sobolevn Jun 15, 2026
51f5834
gh-137759: Replace _PyObject_HashFast() with PyObject_Hash() in setob…
JasonMendoza2008 Jun 15, 2026
8cd462e
gh-146102: Don't clear exception on success in odictobject.c (#151347)
vstinner Jun 15, 2026
d440325
gh-146102: Fix type slot_bf_getbuffer() error handling (#151346)
vstinner Jun 15, 2026
95ded16
gh-139227: Remove unused _PyRuntime.imports.pkgcontext (#151490)
vstinner Jun 15, 2026
a05e6f7
Fix issues reported by cpython-review-toolkit in faulthandler (#151341)
vstinner Jun 15, 2026
d572a3f
gh-148853: Catch PermissionError in test in_systemd_nspawn_sync_suppr…
neek78 Jun 15, 2026
c35c9e9
gh-149079: Optimize sorting in unicodedata.normalize() (GH-150782)
serhiy-storchaka Jun 15, 2026
9c9ad0f
gh-92455: Respect case-sensitive mimetype suffixes (GH-148782)
yuanx749 Jun 15, 2026
4c88ab8
gh-140145: Use repr of the key in `zoneinfo` "No time zone found" err…
LamentXU123 Jun 15, 2026
d2453e9
gh-151223: fix tsan data races in load global specializations (#151393)
kumaraditya303 Jun 15, 2026
82394ff
gh-151128: Improve SyntaxError message for cross language keywords (G…
zang-langyan Jun 15, 2026
0140462
gh-151422: Don't link libffi into _ctypes_test.so (#151423)
hoodmane Jun 15, 2026
aabaf46
gh-151522: Guard against None transport in slow-socket SSL test (#151…
itamaro Jun 16, 2026
6f4f0e3
gh-150771: Fix email serialization for shift_jis and euc-jp (GH-151120)
bhuvi27 Jun 16, 2026
afae0aa
gh-151519: Check effective gid in `_test_all_chown_common` group-0 gu…
itamaro Jun 16, 2026
0171ccc
gh-151218: Replace sys.flags in PyConfig_Set() (#151402)
vstinner Jun 16, 2026
f7beda0
gh-151428: Remove unused imports from stdlib (#151478)
hugovk Jun 16, 2026
1e09adb
gh-118158: Fix missing newline in py_compile CLI error output (#149008)
yuanx749 Jun 16, 2026
70e2029
gh-150902: Optimize PyCriticalSection2 to skip locking the same locks…
dpdani Jun 16, 2026
bfb5e11
gh-151544: Fixes CVE-2026-12003 by removing the fallback to %VPATH%/M…
zooba Jun 16, 2026
93d723e
gh-151546: Fix stack limits on musl (#151548)
vstinner Jun 17, 2026
f33d8f5
gh-151496: Use process groups in test_dtrace (#151512)
vstinner Jun 17, 2026
50d31ad
gh-151593: Use timeout on GitHub Action TSan jobs (#151594)
vstinner Jun 17, 2026
79d6078
gh-120665: make unittest loaders avoid loading test cases that are ab…
blhsing Jun 17, 2026
5949b40
gh-151584: Remove `PyUnstable_Module_SetGIL` call in `_remote_debuggi…
sobolevn Jun 17, 2026
508ff28
gh-150966: Fix live profiling error tests (GH-151020)
pablogsal Jun 17, 2026
95034cc
gh-149044: Improve Py_tp_base[s] docs & error message for non-type ba…
encukou Jun 17, 2026
f2aa42e
Document that `PyErr_SetRaisedException()` accepts `NULL`
philthompson10 Jun 17, 2026
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
root = true

[*.{py,c,cpp,h,js,rst,md,yml,yaml,gram}]
[*.{py,c,cpp,h,js,rst,md,yml,yaml,toml,gram}]
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space

[*.{py,c,cpp,h,gram}]
[*.{py,c,cpp,h,toml,gram}]
indent_size = 4

[*.rst]
Expand Down
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Security Policy

Python [provides a security policy and threat model](https://devguide.python.org/security/policy/)
in the Python Development Guide documenting what bugs are vulnerabilities,
in the Python Developer's Guide documenting what bugs are vulnerabilities,
how to structure reports, and what versions of Python accept reports.

Python Security Response Team (PSRT) members
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,13 @@ jobs:
# unsupported as it most resembles other 1.1.1-work-a-like ssl APIs
# supported by important vendors such as AWS-LC.
- { name: openssl, version: 1.1.1w }
- { name: openssl, version: 3.0.20 }
- { name: openssl, version: 3.3.7 }
- { name: openssl, version: 3.4.5 }
- { name: openssl, version: 3.5.6 }
- { name: openssl, version: 3.6.2 }
- { name: openssl, version: 4.0.0 }
- { name: openssl, version: 3.0.21 }
- { name: openssl, version: 3.4.6 }
- { name: openssl, version: 3.5.7 }
- { name: openssl, version: 3.6.3 }
- { name: openssl, version: 4.0.1 }
## AWS-LC
- { name: aws-lc, version: 1.72.1 }
- { name: aws-lc, version: 5.0.0 }
env:
SSLLIB_VER: ${{ matrix.ssllib.version }}
MULTISSL_DIR: ${{ github.workspace }}/multissl
Expand Down Expand Up @@ -399,7 +398,7 @@ jobs:
needs: build-context
if: needs.build-context.outputs.run-ubuntu == 'true'
env:
OPENSSL_VER: 3.5.6
OPENSSL_VER: 3.5.7
PYTHONSTRICTEXTENSIONBUILD: 1
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down Expand Up @@ -507,7 +506,7 @@ jobs:
matrix:
os: [ubuntu-24.04]
env:
OPENSSL_VER: 3.5.6
OPENSSL_VER: 3.5.7
PYTHONSTRICTEXTENSIONBUILD: 1
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
steps:
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/reusable-san.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,16 @@ jobs:
run: make -j4
- name: Display build info
run: make pythoninfo
# test_{capi,faulthandler} are skipped under UBSan because
# they raise signals that UBSan with halt_on_error=1 intercepts.
- name: Tests
run: >-
./python -m test
${{ inputs.sanitizer == 'TSan' && '--tsan' || '' }}
${{ inputs.sanitizer == 'UBSan' && '-x test_capi -x test_faulthandler' || '' }}
-j4
-j4 -W --timeout=900 --slowest
- name: Parallel tests
if: >-
inputs.sanitizer == 'TSan'
&& fromJSON(inputs.free-threading)
run: ./python -m test --tsan-parallel --parallel-threads=4 -j4
run: ./python -m test --tsan-parallel --parallel-threads=4 -j4 -W --timeout=600 --slowest
- name: Display logs
if: always()
run: find "${GITHUB_WORKSPACE}" -name 'san_log.*' | xargs head -n 1000
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: ${{ inputs.os }}
timeout-minutes: 60
env:
OPENSSL_VER: 3.5.6
OPENSSL_VER: 3.5.7
PYTHONSTRICTEXTENSIONBUILD: 1
TERM: linux
steps:
Expand Down
12 changes: 11 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: e05c5c0818279e5ac248ac9e954431ba58865e61 # frozen: v0.15.7
rev: 3b3f7c3f57fe9925356faf5fe6230835138be230 # frozen: v0.15.17
hooks:
- id: ruff-check
name: Run Ruff (lint) on Platforms/Apple/
Expand All @@ -10,6 +10,11 @@ repos:
name: Run Ruff (lint) on Doc/
args: [--exit-non-zero-on-fix]
files: ^Doc/
- id: ruff-check
name: Run Ruff (lint) on Lib/
args: [--exit-non-zero-on-fix]
files: ^Lib/
exclude: ^Lib/test/
- id: ruff-check
name: Run Ruff (lint) on Lib/test/
args: [--exit-non-zero-on-fix]
Expand All @@ -18,6 +23,11 @@ repos:
name: Run Ruff (lint) on Platforms/WASI/
args: [--exit-non-zero-on-fix, --config=Platforms/WASI/.ruff.toml]
files: ^Platforms/WASI/
- id: ruff-check
name: Run Ruff (lint) on Tools/
args: [--exit-non-zero-on-fix]
files: ^Tools/
exclude: ^Tools/(build|clinic|i18n|peg_generator|wasm)/
- id: ruff-check
name: Run Ruff (lint) on Tools/build/
args: [--exit-non-zero-on-fix, --config=Tools/build/.ruff.toml]
Expand Down
4 changes: 2 additions & 2 deletions Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ htmlhelp: build
"build/htmlhelp/pydoc.hhp project file."

.PHONY: latex
latex: _ensure-sphinxcontrib-svg2pdfconverter
latex: BUILDER = latex
latex: build
latex: _ensure-sphinxcontrib-svg2pdfconverter
$(MAKE) build BUILDER=$(BUILDER)
@echo "Build finished; the LaTeX files are in build/latex."
@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
"run these through (pdf)latex."
Expand Down
3 changes: 3 additions & 0 deletions Doc/bugs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ It can be sometimes faster to fix bugs yourself and contribute patches to
Python as it streamlines the process and involves fewer people. Learn how to
:ref:`contribute <contributing-to-python>`.


.. _reporting-documentation-bugs:

Documentation bugs
==================

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/complex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ rather than dereferencing them through pointers.

Please note, that these functions are :term:`soft deprecated` since Python
3.15. Avoid using this API in a new code to do complex arithmetic: either use
the `Number Protocol <number>`_ API or use native complex types, like
the :ref:`Number Protocol <number>` API or use native complex types, like
:c:expr:`double complex`.


Expand Down
6 changes: 6 additions & 0 deletions Doc/c-api/coro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ return.
with ``__name__`` and ``__qualname__`` set to *name* and *qualname*.
A reference to *frame* is stolen by this function. The *frame* argument
must not be ``NULL``.

.. deprecated-removed:: 3.16 3.18

This function has not been used since 3.10.
It is also impossible to construct a proper *frame*
object to call this function.
11 changes: 6 additions & 5 deletions Doc/c-api/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -498,12 +498,13 @@ Querying the error indicator

.. c:function:: void PyErr_SetRaisedException(PyObject *exc)

Set *exc* as the exception currently being raised,
clearing the existing exception if one is set.
Set *exc* as the exception currently being raised, clearing the existing
exception if one is set. *exc* may be ``NULL`` in which case any current
exception is cleared.

.. warning::
.. note::

This call steals a reference to *exc*, which must be a valid exception.
This function "steals" a reference to *exc*.

.. versionadded:: 3.12

Expand Down Expand Up @@ -1038,7 +1039,7 @@ Properly implementing :c:member:`~PyTypeObject.tp_repr` for container types requ
special recursion handling. In addition to protecting the stack,
:c:member:`~PyTypeObject.tp_repr` also needs to track objects to prevent cycles. The
following two functions facilitate this functionality. Effectively,
these are the C equivalent to :func:`reprlib.recursive_repr`.
these are the C equivalent to :deco:`reprlib.recursive_repr`.

.. c:function:: int Py_ReprEnter(PyObject *object)

Expand Down
18 changes: 18 additions & 0 deletions Doc/c-api/gen.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,25 @@ than explicitly calling :c:func:`PyGen_New` or :c:func:`PyGen_NewWithQualName`.
A reference to *frame* is stolen by this function. The argument must not be
``NULL``.

.. deprecated-removed:: 3.16 3.18

This function has not been used since 3.10.
It is also impossible to construct a proper *frame*
object to call this function.

.. c:function:: PyObject* PyGen_NewWithQualName(PyFrameObject *frame, PyObject *name, PyObject *qualname)

Create and return a new generator object based on the *frame* object,
with ``__name__`` and ``__qualname__`` set to *name* and *qualname*.
A reference to *frame* is stolen by this function. The *frame* argument
must not be ``NULL``.

.. deprecated-removed:: 3.16 3.18

This function has not been used since 3.10.
It is also impossible to construct a proper *frame*
object to call this function.


.. c:function:: PyCodeObject* PyGen_GetCode(PyGenObject *gen)

Expand Down Expand Up @@ -77,6 +89,12 @@ Asynchronous Generator Objects

.. versionadded:: 3.6

.. deprecated-removed:: 3.16 3.18

This function has not been used since 3.10.
It is also impossible to construct a proper *frame*
object to call this function.

.. c:function:: int PyAsyncGen_CheckExact(PyObject *op)

Return true if *op* is an asynchronous generator object, false otherwise.
Expand Down
4 changes: 4 additions & 0 deletions Doc/c-api/init_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,10 @@ Some options are read from the :mod:`sys` attributes. For example, the option

.. versionadded:: 3.14

.. versionchanged:: next
The function now replaces :data:`sys.flags` (create a new object),
instead of modifying :data:`sys.flags` in-place.


.. _pyconfig_api:

Expand Down
Loading
Loading