summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.14.0b4v3.14.0b4Hugo van Kemenade2025-07-0849-176/+806
|
* [3.14] gh-120713: Make _Py_NORMALIZE_CENTURY private (GH-135933) (#136387)Miss Islington (bot)2025-07-084-6/+6
| | | | Co-authored-by: Petr Viktorin <encukou@gmail.com>
* [3.14] gh-136297: Fix `hypothesis` and `subTest` usage in ↵Miss Islington (bot)2025-07-082-10/+8
| | | | | | | | `test_zoneinfo_property.py` (GH-136384) (#136407) gh-136297: Fix `hypothesis` and `subTest` usage in `test_zoneinfo_property.py` (GH-136384) (cherry picked from commit db699db99d214dccb7c4849fa609fdd5188ee038) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.14] gh-136155: Docs: only add custom OpenGraph protocol meta tags for ↵Miss Islington (bot)2025-07-082-9/+11
| | | | | | | HTML builds (GH-136187) (#136382) Co-authored-by: Maciej Olko <maciej.olko@affirm.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* [3.14] gh-101100: Fix sphinx warnings in `whatsnew/3.11.rst` (GH-136402) ↵Miss Islington (bot)2025-07-082-2/+1
| | | | | | (#136405) Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
* [3.14] gh-102567: Add missing newline to `--help-all` (GH-136391) (GH-136403)Miss Islington (bot)2025-07-081-1/+1
| | | | | | gh-102567: Add missing newline to `--help-all` (GH-136391) (cherry picked from commit fbef0c1d6a6540f5063138b861f79bdb2a935b0a) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.14] gh-135913: Document ob_refcnt, ob_type, ob_size (GH-135914) (GH-136377)Miss Islington (bot)2025-07-082-22/+64
| | | | | | | | | | | | | | | gh-135913: Document ob_refcnt, ob_type, ob_size (GH-135914) * gh-135913: Document ob_refcnt, ob_type, ob_size In `typeobj.rst`, instead of `:c:member:` it would be better to use `.. c:member::` with a `:no-index:` option, see: See ref. https://www.sphinx-doc.org/en/master/usage/domains/index.html#basic-markup However, `c:member` currently does not support `:no-index:`. (cherry picked from commit 73e1207a4ebdb3b43d597cd6c288dae6d7d1dbdb) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* [3.14] gh-136032: Fix `argparse.BooleanOptionalAction` doc (GH-136133) (#136329)Miss Islington (bot)2025-07-081-17/+20
| | | | | | gh-136032: Fix `argparse.BooleanOptionalAction` doc (GH-136133) (cherry picked from commit 1953713d0d67a4f54ff75bf8449895a2f08cc750) Co-authored-by: W. H. Wang <mattwang44@gmail.com>
* [3.14] gh-135906: Use `_PyObject_CAST` in internal headers (GH-135892) ↵Miss Islington (bot)2025-07-073-3/+4
| | | | | | | | | | | | | | (GH-136392) gh-135906: Use `_PyObject_CAST` in internal headers (GH-135892) Fixes build errors encountered in python-greenlet/greenlet#450 when building greenlet on the free-threaded build. --------- (cherry picked from commit fe187fae8d8321f1b8d3c9560a35efe904de4217) Co-authored-by: Charlie Lin <tuug@gmx.us> Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.14] gh-101100: Fix Sphinx warnings in library/email.compat32-message.rst ↵Miss Islington (bot)2025-07-072-10/+9
| | | | | | (GH-136323) (#136389) Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
* [3.14] gh-87790: support thousands separators for formatting fractional part ↵Miss Islington (bot)2025-07-073-1/+28
| | | | | | | of Decimal (GH-132202) (#136365) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.14] gh-87790: support thousands separators for formatting fractional part ↵Miss Islington (bot)2025-07-073-1/+24
| | | | | | of Fraction (GH-132204) (#136364) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* [3.14] gh-124486: Fix test_whichdb_ndbm in test_dbm on NetBSD (GH-136335) ↵Miss Islington (bot)2025-07-071-1/+2
| | | | | | | | (GH-136378) On NetBSD, ndbm.open() does not fail for empty file. (cherry picked from commit b7aa2a4b4df697db6ea45a555eeb3fefa5ca5bd4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.14] gh-86682: Add versionadded for sys._getframemodulename (GH-136325) ↵Miss Islington (bot)2025-07-071-0/+2
| | | | | | | | | | (#136375) gh-86682: Add versionadded for sys._getframemodulename (GH-136325) add versionadded for sys._getframemodulename (cherry picked from commit 11f074b243756bca0db5a7d35dd84f00879de616) Co-authored-by: Anthony Sottile <asottile@umich.edu>
* [3.14] gh-131591: Document Py_REMOTE_DEBUG (GH-135929) (GH-136374)Miss Islington (bot)2025-07-071-0/+7
| | | | | | gh-131591: Document Py_REMOTE_DEBUG (GH-135929) (cherry picked from commit 9aac5a3d44d7191001660aed3a383b062ee4b29b) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* [3.14] gh-135755: Document __future__.* and CO_* as proper Sphinx objects ↵Miss Islington (bot)2025-07-073-36/+115
| | | | | | | | | | | | (GH-135980) (GH-136370) * Turn the __future__ table to list-table. This'll make it easier to add entries that need longer markup * Semantic markup for __future__ feature descriptions. * Document CO_* C macros. (cherry picked from commit 2468aafe984fdf923811ef0c6969e3d6c1b92a82) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* [3.14] gh-101100: Fix sphinx warnings in `whatsnew/3.9` (GH-136163) (#136372)Miss Islington (bot)2025-07-073-6/+10
| | | | Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.14] gh-130662: Accept leading zeros in precision/width for Decimal's ↵Miss Islington (bot)2025-07-073-2/+7
| | | | | | | formatting (GH-132549) (#136362) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* [3.14] gh-130662: Accept leading zeros in precision/width for Fraction's ↵Miss Islington (bot)2025-07-073-8/+7
| | | | | | | formatting (GH-130663) (#136361) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* [3.14] gh-136289: Fix test_sqlite3 on platforms with strict UTF-8 filesystem ↵Miss Islington (bot)2025-07-071-12/+14
| | | | | | | (GH-136326) (GH-136350) (cherry picked from commit 85b817da94cf911a964d42e81a57e1de9ab71ef9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.14] GH-133932: Tagged ints are heap safe (GH-134244) (#134494)Miss Islington (bot)2025-07-071-13/+7
| | | | Co-authored-by: Mark Shannon <mark@hotpy.org>
* [3.14] GH-135106: Restrict trashcan to GC'ed objects (GH-135682) (#135876)Miss Islington (bot)2025-07-072-52/+26
| | | | Co-authored-by: Mark Shannon <mark@hotpy.org>
* [3.14] gh-94503: Update logging cookbook with an example of uniformly ↵Miss Islington (bot)2025-07-071-0/+62
| | | | | handling newlines in output. (GH-136217) (GH-136357) (cherry picked from commit d05423a90ce0ee9ad5207dce3dd06ab2397f3d6e)
* [3.14] gh-127502: Remove XML vulnerability table (GH-135294) (#136359)Miss Islington (bot)2025-07-079-89/+32
| | | | | | | | | | | | | gh-127502: Remove XML vulnerability table (GH-135294) * Remove the table * Replace warnings with notes Latest releases of Python 3.9-3.15 include expat 2.7.1 which is not vulnerable. expat 2.6.0 was released in February 2024. (cherry picked from commit cb99d992774b67761441e122965ed056bac09241) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.14] gh-109700: fix interpreter finalization while handling memory error ↵Miss Islington (bot)2025-07-071-7/+7
| | | | | | | | (GH-136342) (#136352) gh-109700: fix interpreter finalization while handling memory error (GH-136342) (cherry picked from commit 0c3e3da19570424649c33c0c2c29dc12541935e7) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* [3.14] gh-136316: Make typing.evaluate_forward_ref better at evaluating ↵Jelle Zijlstra2025-07-074-3/+23
| | | | | nested forwardrefs (GH-136319) (#136346) (cherry picked from commit 9312702d2e12c2f58f02bfa02877d0ec790d06bd)
* [3.14] gh-109070: Document that get_context in multiprocessing have side ↵Miss Islington (bot)2025-07-061-5/+7
| | | | | | | | | | effect (GH-136341) (GH-136343) gh-109070: Document that get_context in multiprocessing have side effect (GH-136341) Document that get_context in multiprocessing have side effect (cherry picked from commit 77a8bd29da99e7d4fa8e7f07c4063977c2bb14d3) Co-authored-by: AN Long <aisk@users.noreply.github.com>
* [3.14] gh-109700: fix memory error handling in `PyDict_SetDefault` ↵Miss Islington (bot)2025-07-062-0/+2
| | | | | | | | (GH-136338) (#136340) gh-109700: fix memory error handling in `PyDict_SetDefault` (GH-136338) (cherry picked from commit d22e073d2b49313bbf42d40cbe74afa2b69385df) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* [3.14] gh-129824: fix data races in subinterpreters under TSAN (GH-135794) ↵Miss Islington (bot)2025-07-061-17/+44
| | | | | | | | | | (#136266) gh-129824: fix data races in subinterpreters under TSAN (GH-135794) This fixes the data races in typeobject.c in subinterpreters under free-threading. The type flags and slots are only modified in the main interpreter as all static types are first initialised in main interpreter. (cherry picked from commit b582d751b4968d4534fdb7894e50713676789b2f) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* [3.14] gh-136285: Improve `pickle` protocol testing in `test_interpreters` ↵Miss Islington (bot)2025-07-067-30/+28
| | | | | | | | (GH-136286) (#136333) gh-136285: Improve `pickle` protocol testing in `test_interpreters` (GH-136286) (cherry picked from commit 06e347b84648f3f8e144e8f70671d610da082b77) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.14] gh-136315: Fix skipped multithreading test in test_zstd (GH-136320) ↵Miss Islington (bot)2025-07-051-3/+6
| | | | | | | | | | (#136322) gh-136315: Fix skipped multithreading test in test_zstd (GH-136320) Fix skipped test in test_zstd (cherry picked from commit 5dac137b9f75c5c1d5096101bcd33d565d0526e4) Co-authored-by: Emma Smith <emma@emmatyping.dev>
* [3.14] gh-101100: Fix references in `http.cookiejar` docs (GH-136238) ↵Miss Islington (bot)2025-07-051-1/+1
| | | | | | | | (GH-136318) gh-101100: Fix references in `http.cookiejar` docs (GH-136238) (cherry picked from commit f0c7344a8fbfe67c05981cce67562e7facfae73d) Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
* [3.14] gh-136297: Test all `pickle` protocols in `test_zoneinfo_property.py` ↵Miss Islington (bot)2025-07-051-7/+11
| | | | | | | | (GH-136298) (#136311) gh-136297: Test all `pickle` protocols in `test_zoneinfo_property.py` (GH-136298) (cherry picked from commit 5de7e3f9739b01ad180fffb242ac57cea930e74d) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.14] gh-136288: Fix error message in `_testcapi/vectorcall.c` (GH-136258) ↵Miss Islington (bot)2025-07-041-4/+4
| | | | | | | | | | (GH-136294) gh-136288: Fix error message in `_testcapi/vectorcall.c` (GH-136258) Use the %N format specifier instead of %s and `PyType_GetName`. (cherry picked from commit d1d5dce14f90d777608e4403d09079421ff55944) Co-authored-by: William S Fulton <wsf@fultondesigns.co.uk>
* [3.14] Docs: Move "or" outside monospace syntax in `tarfile.rst` (GH-136263) ↵Miss Islington (bot)2025-07-041-5/+6
| | | | | | | | (GH-136290) Docs: Move "or" outside monospace syntax in `tarfile.rst` (GH-136263) (cherry picked from commit ade19880943509945da193202ca89e0b2b6fbd75) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
* [3.14] gh-135773: have pyvenv.cfg without home key anchor a venv and deduce ↵Miss Islington (bot)2025-07-042-7/+25
| | | | | | | | | | | | | home (GH-135831) (#136287) gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home (GH-135831) This is still formally undefined behaviour, but we may as well keep the *same* undefined behaviour as previous versions. PEP 796 proposes a cleaner and more consistent replacement for 3.15+ (cherry picked from commit 93263d43141a81d369adfcddf325f9a54cb5766d) Co-authored-by: Richard Levasseur <rlevasseur@google.com>
* [3.14] gh-102555: Fix comment parsing in HTMLParser according to the HTML5 ↵Miss Islington (bot)2025-07-043-3/+50
| | | | | | | | | | | | | | standard (GH-135664) (GH-136271) * "--!>" now ends the comment. * "-- >" no longer ends the comment. * Support abnormally ended empty comments "<-->" and "<--->". --------- (cherry picked from commit 8ac7613dc8b8f82253d7c0e2b6ef6ed703a0a1ee) Co-author: Kerim Kabirov <the.privat33r+gh@pm.me> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* [3.14] Clarify some details regarding `sys.monitoring` (GH-133981) (GH-136259)Miss Islington (bot)2025-07-031-25/+36
| | | | | | Clarify some details regarding `sys.monitoring` (GH-133981) (cherry picked from commit b4991056f4f44acb50aea3838463e749c24c7420) Co-authored-by: Brett Cannon <brett@python.org>
* [3.14] gh-135661: Fix parsing start and end tags in HTMLParser according to ↵Miss Islington (bot)2025-07-033-129/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the HTML5 standard (GH-135930) (GH-136255) * Whitespaces no longer accepted between `</` and the tag name. E.g. `</ script>` does not end the script section. * Vertical tabulation (`\v`) and non-ASCII whitespaces no longer recognized as whitespaces. The only whitespaces are `\t\n\r\f `. * Null character (U+0000) no longer ends the tag name. * Attributes and slashes after the tag name in end tags are now ignored, instead of terminating after the first `>` in quoted attribute value. E.g. `</script/foo=">"/>`. * Multiple slashes and whitespaces between the last attribute and closing `>` are now ignored in both start and end tags. E.g. `<a foo=bar/ //>`. * Multiple `=` between attribute name and value are no longer collapsed. E.g. `<a foo==bar>` produces attribute "foo" with value "=bar". * Whitespaces between the `=` separator and attribute name or value are no longer ignored. E.g. `<a foo =bar>` produces two attributes "foo" and "=bar", both with value None; `<a foo= bar>` produces two attributes: "foo" with value "" and "bar" with value None. --------- (cherry picked from commit 0243f97cbadec8d985e63b1daec5d1cbc850cae3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* [3.14] gh-135252: Document Zstandard integration across zipfile, shutil, and ↵Miss Islington (bot)2025-07-034-19/+77
| | | | | | | | | | tarfile (GH-135311) (#136254) gh-135252: Document Zstandard integration across zipfile, shutil, and tarfile (GH-135311) Document Zstandard integration across zipfile, shutil, and tarfile (cherry picked from commit 938a5d7e62d962a8462bce9fe04236ac9a2155b8) Co-authored-by: Emma Smith <emma@emmatyping.dev>
* [3.14] gh-115119: Recommend upstream libmpdec in build requirements ↵Miss Islington (bot)2025-07-031-0/+3
| | | | | | | | | | (GH-136205) (#136244) gh-115119: Recommend upstream libmpdec in build requirements (GH-136205) (cherry picked from commit b2e498ac26ba4720fa8a6a466aa8416ab69754d7) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.14] gh-130664: Treat '0' fill character with align '=' as zero-padding ↵Miss Islington (bot)2025-07-033-5/+9
| | | | | | | for Fraction's (GH-131067) (GH-136241) (cherry picked from commit c113a8e5236b31217d82ce289d3df6ec9e8411cd) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* [3.14] gh-133740: Fix regression in locale.nl_langinfo(ALT_DIGITS) ↵Miss Islington (bot)2025-07-031-1/+1
| | | | | | | | | (GH-136237) (GH-136240) There is no need to temporary switch locale for items ALT_DIGITS and ERA if the nl_langinfo() result is empty (most locales). (cherry picked from commit 5c984ae35e30f0533e6cc727d23cc158decf001c) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.14] gh-135069: Fix exception message in encodings.idna module (GH-135071) ↵Miss Islington (bot)2025-07-032-1/+4
| | | | | | | | (#136235) gh-135069: Fix exception message in encodings.idna module (GH-135071) (cherry picked from commit 8dc3383abea72ee3deafec60818aeb817d8fec09) Co-authored-by: Daniel Hollas <daniel.hollas@bristol.ac.uk>
* [3.14] Fix comments for `heapq.siftup_max` (GH-135359) (#136232)Miss Islington (bot)2025-07-031-3/+3
| | | | | | | Fix comments for `heapq.siftup_max` (GH-135359) (cherry picked from commit 8f8bdf251a5f79d15ac2b1a6d19860033bf50c79) Co-authored-by: Alper <alperyoney@fb.com> Co-authored-by: mpage <mpage@meta.com>
* [3.14] gh-135640: Adds more type checking to ElementTree (GH-135643) (GH-136225)Miss Islington (bot)2025-07-033-2/+39
| | | | | (cherry picked from commit e0245c789f54b63d461717a91eec8ffccbe18966) Co-authored-by: Kira <kirawhoprograms@fastmail.com>
* [3.14] gh-127705: Move Py_INCREF_MORTAL() to the internal C API (GH-136178) ↵Miss Islington (bot)2025-07-033-18/+18
| | | | | | | | | | | (#136206) gh-127705: Move Py_INCREF_MORTAL() to the internal C API (GH-136178) Rename Py_INCREF_MORTAL() to _Py_INCREF_MORTAL() and move it to pycore_object.h internal header. (cherry picked from commit fa43a1e0f8caf00a15898fa719e31767c866bd90) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.14] gh-135836: Fix `IndexError` in `asyncio.create_connection()` ↵Miss Islington (bot)2025-07-033-30/+67
| | | | | | | | (GH-135875) (#136221) gh-135836: Fix `IndexError` in `asyncio.create_connection()` (GH-135875) (cherry picked from commit 9084b151567d02936ea1374961809b69b4cd883d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.14] gh-135836: Fix `IndexError` in `asyncio.create_connection` with empty ↵Miss Islington (bot)2025-07-033-1/+35
| | | | | | | | | exceptions list (GH-135845) (#136167) gh-135836: Fix `IndexError` in `asyncio.create_connection` with empty exceptions list (GH-135845) (cherry picked from commit 0e19db653dfa1a6e750e9cede1f6922e5fd1e808) Co-authored-by: heliang666s <147408835+heliang666s@users.noreply.github.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* [3.14] gh-136135: Doc: Fix some broken links (GH-136137) (GH-136220)Miss Islington (bot)2025-07-032-2/+2
| | | | | | gh-136135: Doc: Fix some broken links (GH-136137) (cherry picked from commit 135ba86212ad116af3cc4a6ba656bc8cfaab131a) Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>