summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.13.9v3.13.9Thomas Wouters2025-10-145-6/+12
|
* [3.13] gh-139783: Fix inspect.getsourcelines() for the case when a decorator ↵Miss Islington (bot)2025-10-144-1/+21
| | | | | | | is followed by a comment or an empty line (GH-139836) (GH-139890) (cherry picked from commit f4104f5d74b99712253fceb39a4460ee3f7a281c) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Python 3.13.8v3.13.8Thomas Wouters2025-10-0760-332/+868
|
* [3.13] gh-139436: Remove link to the PDF downloads (GH-139142) (#139427)Miss Islington (bot)2025-10-071-5/+10
| | | | | (cherry picked from commit 6b5f15698a436591f7c305c576a2d366c38d9997) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] gh-63161: Add more tests for source encoding (GH-139440) (#139443)Miss Islington (bot)2025-10-072-20/+177
| | | | | (cherry picked from commit b2f5ad0c6d7cfd249c41bfbcdd0a75a9f21f1e72) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.13] gh-139283: correctly handle `size` limit in `cursor.fetchmany()` ↵Bénédikt Tran2025-10-076-19/+150
| | | | | | | | | | | (GH-139296) (#139444) Passing a negative or zero size to `cursor.fetchmany()` made it fetch all rows instead of none. While this could be considered a security vulnerability, it was decided to treat this issue as a regular bug as passing a non-sanitized *size* value in the first place is not recommended. (cherry picked from commit bc172ee8307431caf4c89612e9e454081635191f)
* [3.13] gh-139327: fix some reference leaks in `sqlite3` error branches ↵Miss Islington (bot)2025-10-072-32/+42
| | | | | | | (GH-139328) (#139472) (cherry picked from commit d0a3eff9d6e72e209da0236fb1ea1f8c18938eaa) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* [3.13] gh-124111: Update macOS installer to use Tcl/Tk 8.6.17. (GH-139682) ↵Miss Islington (bot)2025-10-072-3/+4
| | | | | | (#139684) (cherry picked from commit 6d804e4efb8ed2ebeb9cef9577945c46c0038178) Co-authored-by: Ned Deily <nad@python.org>
* [3.13] gh-139573: Update macOS installer to use OpenSSL 3.0.18 (GH-139575) ↵Miss Islington (bot)2025-10-072-3/+4
| | | | | (#139681) Co-authored-by: Zachary Ware <zach@python.org>
* [3.13] gh-118767: remove bool(NotImplemented) from pending-removal document ↵Jost Migenda2025-10-062-1/+4
| | | | (GH-139526) (#139677)
* [3.13] gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX ↵Miss Islington (bot)2025-10-061-0/+1
| | | | | | | | (GH-138855) (GH-139675) gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855) (cherry picked from commit 171f787a297ec4b02cfe8b3ebab8374018391f20) Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
* [3.13] gh-133210: Fix `test_inspect` without docstrings (GH-139651) (#139670)Miss Islington (bot)2025-10-061-2/+8
| | | | | | gh-133210: Fix `test_inspect` without docstrings (GH-139651) (cherry picked from commit 7c70cc5c23971ef448ea59827c6e6ae310157356) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] gh-133210: Fix `test_pydoc` without docstrings (GH-139654) (#139666)Miss Islington (bot)2025-10-061-3/+3
| | | | | | gh-133210: Fix `test_pydoc` without docstrings (GH-139654) (cherry picked from commit 708de26e31b65cd3ae768882c8da59284917a80d) Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
* [3.13] gh-139400: Make sure that parent parsers outlive their subparsers in ↵Sebastian Pipping2025-10-063-0/+65
| | | | | | | | | | | `pyexpat` (GH-139403) (GH-139608) Within libexpat, a parser created via `XML_ExternalEntityParserCreate` is relying on its parent parser throughout its entire lifetime. Prior to this fix, is was possible for the parent parser to be garbage-collected too early. (cherry picked from commit 6edb2ddb5f3695cf4938979d645f31d7fba43ec8)
* [3.13] gh-116488: Mention `dict.get` in the data structures tutorial ↵Miss Islington (bot)2025-10-061-2/+12
| | | | | | | | (GH-139643) (GH-139656) gh-116488: Mention `dict.get` in the data structures tutorial (GH-139643) (cherry picked from commit 69cfad0b3e1e2805914cb647cce4c7c2bfed5910) Co-authored-by: Cycloctane <Cycloctane@outlook.com>
* [3.13] gh-139624: Skip problematic locales on AIX in test_date_locale2 ↵Miss Islington (bot)2025-10-061-1/+1
| | | | | | | (GH-139625) (GH-139645) (cherry picked from commit 6f3dae0dc5ccd47b2b8a6e052244353d8c37e59b) Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
* [3.13] gh-137242: Allow Android testbed to take all Python command-line ↵Miss Islington (bot)2025-10-067-130/+153
| | | | | | | | | options (GH-138805) (#139638) Modifies the Android test runner to ensure that all valid Python command line options are preserved when running the test suite. (cherry picked from commit a9b0506d8db1aff8318759ed9324be56bf33eb31) Co-authored-by: Malcolm Smith <smith@chaquo.com>
* [3.13] gh-105812: Use the ``:deco:`` role in place of manual decorator ↵Adam Turner2025-10-0512-37/+36
| | | | markup (GH-139619) (#139628)
* [3.13] Replace ambiguous word "pound" by "hash" in `difflib` docs ↵Miss Islington (bot)2025-10-051-1/+1
| | | | | | | | (GH-139601) (#139617) Replace ambiguous word "pound" by "hash" in `difflib` docs (GH-139601) (cherry picked from commit dadbb2662a405a34763db0298025f6af06342849) Co-authored-by: George Ogden <38294960+George-Ogden@users.noreply.github.com>
* [3.13] gh-139310: skip `test_aead_aes_gcm` for Linux kernel between 6.16.0 ↵Miss Islington (bot)2025-10-052-1/+17
| | | | | | | | | | | | | | | | | and 6.17.x (GH-139552) (#139593) gh-139310: skip `test_aead_aes_gcm` for Linux kernel between 6.16.0 and 6.17.x (GH-139552) Currently, Fedora 42 uses a custom Linux Kernel 6.16.9 that backported an upstream change from 6.17-rc7 [1,3] but not its subsequent fix [2]. Until the issue is resolved upstream, we skip the failing test `test_socket.test_aead_aes_gcm` for kernel versions between 6.16 and 6.17.x. [1] https://github.com/torvalds/linux/commit/1b34cbbf4f011a121ef7b2d7d6e6920a036d5285 [2] https://github.com/torvalds/linux/commit/d0ca0df179c4b21e2a6c4a4fb637aa8fa14575cb [3] https://gitlab.com/cki-project/kernel-ark/-/commit/45bcf60fe49b37daab1acee57b27211ad1574042 (cherry picked from commit 41712c4e095b2cc988febfe3887616c2779c6210) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* [3.13] gh-139573: Update Windows builds to use OpenSSL 3.0.18 (GH-139587)Miss Islington (bot)2025-10-054-8/+9
| | | (cherry picked from commit 063cef9999d7490e62cb2ad2711634a992c090fb)
* [3.13] gh-139573: Update OpenSSL in CI (GH-139585)Zachary Ware2025-10-054-8/+8
| | | (cherry picked from commit 98e748b3a0d97bd2c785efc63693f971113b3b63)
* [3.13] gh-139573: Update Android to OpenSSL 3.0.18 (GH-139562) (#139584)Russell Keith-Magee2025-10-051-1/+7
| | | | | | Update Android to OpenSSL 3.0.18. (cherry picked from commit 0f0fc5a16368ea45541137cff6b90d63bad5eb26) Co-authored-by: Malcolm Smith <smith@chaquo.com>
* [3.13] gh-138703: clarify data buffer requirement of ↵Miss Islington (bot)2025-10-042-4/+5
| | | | | | | | `asyncio.StreamWriter.write` (GH-139564) (#139571) gh-138703: clarify data buffer requirement of `asyncio.StreamWriter.write` (GH-139564) (cherry picked from commit 0b2168275e8ec491fe7ea6f8c662e804437dfdab) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* [3.13] gh-139495: Fix `hashlib.file_digest()` versionchanged description of ↵Alex Willmer2025-10-031-1/+1
| | | | | | | | | | | | | `BlockingIOError` (GH-139496) (#139528) * Fix `hashlib.file_digest()` versionchanged description of `BlockingIOError` The sentence was missing a negation and contradicted the other two descriptions in the same commit. I believe code behaviour is correct. * fixup! Fix `hashlib.file_digest()` versionchanged description of `BlockingIOError` * Remove unncessary NEWS.d entry (cherry picked from commit fb114cf49742a3679d56aa4ac3f341839c641221)
* [3.13] gh-135329: Use longer timeout in pyrepl test_repl_eio() (#139503) ↵Victor Stinner2025-10-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | (#139507) gh-135329: Use longer timeout in pyrepl test_repl_eio() (#139503) Replace hardcoded 5 seconds with support.SHORT_TIMEOUT. Fix the following error on slow CI such as GitHub Action UBSan: test test_pyrepl failed -- Traceback (most recent call last): File "Lib/test/test_pyrepl/test_unix_console.py", line 362, in test_repl_eio _, err = proc.communicate(timeout=5) # sleep for pty to settle ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "Lib/subprocess.py", line 1219, in communicate stdout, stderr = self._communicate(input, endtime, timeout) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "Lib/subprocess.py", line 2126, in _communicate self._check_timeout(endtime, orig_timeout, stdout, stderr) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Lib/subprocess.py", line 1266, in _check_timeout raise TimeoutExpired( ...<2 lines>... stderr=b''.join(stderr_seq) if stderr_seq else None) subprocess.TimeoutExpired: Command '[...]' timed out after 5 seconds (cherry picked from commit c985822d86892cd0a978e6e63945be3c0e59217c)
* [3.13] gh-139487: add missing imports for standalone doctest `Enum` examples ↵Miss Islington (bot)2025-10-021-2/+6
| | | | | | | | (GH-139488) (#139494) gh-139487: add missing imports for standalone doctest `Enum` examples (GH-139488) (cherry picked from commit f3d7faeafa9618b38980813f22d0a64f7b2bd441) Co-authored-by: Peter <35064951+ttw225@users.noreply.github.com>
* [3.13] gh-139210: Move gh-139210 patch NEWS file to correct section ↵Miss Islington (bot)2025-10-011-0/+0
| | | | | | | (GH-139469) (GH-139470) (cherry picked from commit d936dbeb1f1ebb4291a035dae88be78722c51d34) Co-authored-by: Ken Jin <kenjin@python.org>
* [3.13] Document that `PyInterpreterState_GetDict` returns a borrowed ↵Miss Islington (bot)2025-10-012-0/+6
| | | | | | | | reference (GH-139451) (#139464) Document that `PyInterpreterState_GetDict` returns a borrowed reference (GH-139451) (cherry picked from commit 80cdf3ef74f6622899c1c82af1e08492e4ab7a00) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* [3.13] gh-139210: Fix use-after-free in xml.etree.ElementTree.iterparse() ↵Miss Islington (bot)2025-09-303-1/+4
| | | | | | | (GH-139211) (GH-139456) (cherry picked from commit c86eb4d3ac5984efc1ea920ba643e3c4f02fdee8) Co-authored-by: Ken Jin <kenjin@python.org>
* [3.13] gh-130567: Enable previously skipped locale tests on FreeBSD and ↵Miss Islington (bot)2025-09-301-2/+1
| | | | | | | macOS (GH-138652) (GH-139422) (cherry picked from commit 1b8dcdacc75caa8175f89c7e739e45d856ebf511) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.13] gh-139146: Check `calloc()` results in ↵Miss Islington (bot)2025-09-291-0/+10
| | | | | | | | | | | | `_testembed.c::test_pre_initialization_sys_options` (GH-139147) (#139414) gh-139146: Check `calloc()` results in `_testembed.c::test_pre_initialization_sys_options` (GH-139147) (cherry picked from commit 9c6a1f847b648747414600f2cde18f3837505537) Reported by: Dmitrii Chuprov <cheese@altlinux.org> Signed-off-by: Denis Sergeev <zeff@altlinux.org> Co-authored-by: Denis Sergeev <zeff@altlinux.org>
* [3.13] gh-78319: Fix implementation of IMAP APPEND UTF8 (GH-9436) (GH-139407)Miss Islington (bot)2025-09-293-12/+26
| | | | | | | | gh-78319: Fix implementation of IMAP APPEND UTF8 (GH-9436) Make UTF8 support for the IMAP APPEND command RFC 6855 compliant. (cherry picked from commit 408154d64a7b3d43b05f44ea5c4cdf781bdd1352) Co-authored-by: Gordon Messmer <gordon.messmer@gmail.com>
* [3.13] gh-139312: Update bundled libexpat to 2.7.3 (GH-139319) (#139377)Miss Islington (bot)2025-09-277-37/+60
| | | | | | | | | gh-139312: Update bundled libexpat to 2.7.3 (GH-139319) + Blurb + Update sbom.spdx.json (cherry picked from commit 48d0d0dd9733eae4935f2ebd31bef786d8074fc8) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* [3.13] gh-139289: Lazy import rlcompleter to fix the refleak (GH-139305) ↵Tian Gao2025-09-263-10/+28
| | | | | (#139357) (cherry picked from commit 8288f3693f50058ad9b9fe04e01f5dad902d8bad)
* [3.13] Remove erroneous text from What’s New (#139343)Rafael Fontenelle2025-09-261-1/+1
|
* [3.13] gh-115119: Defer `--with-system-libmpdec` removal to 3.16 (GH-139318) ↵Miss Islington (bot)2025-09-261-2/+2
| | | | | | | | (#139348) gh-115119: Defer `--with-system-libmpdec` removal to 3.16 (GH-139318) (cherry picked from commit 0aab07ccf79f335e3afa8021ddcbcfb8afa4d70c) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] gh-127502: Fix typo in XML security notes (GH-139335) (#139345)Miss Islington (bot)2025-09-261-1/+1
| | | | | | gh-127502: Fix typo in XML security notes (GH-139335) (cherry picked from commit 6fa1e552e06063b668e02540ba1c31a4d87bbb17) Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
* [3.13] gh-139330: Check expat version/checksum in SBOM with refresh.shMiss Islington (bot)2025-09-253-6/+9
| | | | | | | | gh-139330: Check expat version/checksum in SBOM with refresh.sh Check expat version/checksum in SBOM with refresh.sh (cherry picked from commit 89b5571025a5316ea3855c8e595a5f3c3ae11f8f) Co-authored-by: Seth Michael Larson <seth@python.org>
* [3.13] gh-130567: Fix possible crash in locale.strxfrm() (GH-138940) (GH-139266)Miss Islington (bot)2025-09-242-1/+5
| | | | | | | | | On some macOS versions there was an off-by-one error in wcsxfrm() which caused writing past the end of the array if its size was not calculated by running wcsxfrm() first. (cherry picked from commit 5854cf38a25ab8b0c6ab0296098166014f77caa3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
* [3.13] Fix the reference to unicode specification (#139138) (#139285)Karolina Surma2025-09-241-1/+1
| | | (cherry picked from commit b36dee855dd61f6ac37208866c3c4c21429a587a)
* [3.13] gh-138860: Lazy import rlcompleter in pdb to avoid deadlock in… ↵Tian Gao2025-09-242-3/+11
| | | | | | (#139281) [3.13] gh-138860: Lazy import rlcompleter in pdb to avoid deadlock in subprocess (GH-139185) (cherry picked from commit c8624cd36746b17d8f991cde63705e9419e940de)
* [3.13] gh-139208: Fix regrtest --fast-ci --verbose (GH-139240) (#139261)Miss Islington (bot)2025-09-233-3/+18
| | | | | | | | gh-139208: Fix regrtest --fast-ci --verbose (GH-139240) Don't ignore the --verbose option anymore. (cherry picked from commit dd683f8f341dd0c95ac4f1363d92d141ea5b3842) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.13] Revert "gh-136006: fix `Py_NAN` expansion on Solaris systems ↵Eloisa Perez-Bennetts2025-09-222-18/+1
| | | | | | (GH-136575) (#138734)" (#139239) This reverts commit df349036b3f912e539643d91b84cbce32e4a1051 as discussed in https://github.com/python/cpython/pull/138733#issuecomment-3317818806
* [3.13] `Doc/library/os.rst`: Remove spurious parenthesis (GH-139205) (GH-139218)Miss Islington (bot)2025-09-211-5/+5
| | | | | | `Doc/library/os.rst`: Remove spurious parenthesis (GH-139205) (cherry picked from commit 9c3d09b984374292d1d8552f53c98f445f8556dd) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* [3.13] gh-138092: Correct the documented signature of ``mmap.flush`` ↵Miss Islington (bot)2025-09-211-1/+2
| | | | (GH-138671) (#139203)
* [3.13] Make sure the ``:keyword:`` role works for ``case`` (GH-138878) (#139201)Miss Islington (bot)2025-09-211-0/+1
|
* [3.13] gh-118803: Fixup a few references in the 3.13 branch to the intended ↵Alex Waygood2025-09-194-13/+4
| | | | removal date for `ByteString` (#139171)
* [3.13] gh-112729: Correctly fail when the process is out of memory during ↵Peter Bierma2025-09-193-8/+18
| | | | | | | interpreter creation (GH-139164) (GH-139169) * gh-112729: Correctly fail when the process is out of memory during interpreter creation (GH-139164) (cherry picked from commit d06113c7a7cac76a28847702685e601b79f71bf8)
* [3.13] gh-139076: Fix regression in pydoc not showing extension functions ↵Miss Islington (bot)2025-09-194-0/+21
| | | | | | | | | | (GH-139077) (GH-139161) Fix a bug in the pydoc module that was hiding functions in a Python module if they were implemented in an extension module and the module did not have __all__. (cherry picked from commit 7257b24140ac1b39fb8cfd4610134ec79575a396) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>