summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.12] bpo-14322: added test case for invalid update to hmac (GH-26636) ↵Miss Islington (bot)2024-02-251-0/+8
| | | | | | | (#115904) Co-authored-by: Arjun <ccldarjun@icloud.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.12] gh-101100: Fix Sphinx warnings in `whatsnew/2.0.rst` (GH-112351) ↵Hugo van Kemenade2024-02-252-53/+53
| | | | | | (#115902) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] Add an example of of custom `__repr__` (GH-112761) (#115900)Miss Islington (bot)2024-02-251-0/+10
| | | | | | | | | | Added to repr entry in Doc/library/functions.rst. --------- (cherry picked from commit 5770006ffac2abd4f1c9fd33bf5015c9ef023576) Co-authored-by: Oh seungmin <tmdals179@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.12] Erase some unnecessary quotes on data model doc (GH-113521) (#115896)Miss Islington (bot)2024-02-252-5/+4
| | | | | | | Thanks to Pedro Arthur Duarte (pedroarthur.jedi at gmail.com) for help with this bug. (cherry picked from commit f7455864f22369cc23bf3428624f310305cac999) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
* [3.12] gh-115872: Doc: remove obsolete reference to MSI packages (GH-115873) ↵Miss Islington (bot)2024-02-241-1/+1
| | | | | | (#115876) Co-authored-by: partev <petrosyan@gmail.com>
* [3.12] Update http.cookiejar document for cookie object attributes ↵Miss Islington (bot)2024-02-231-0/+5
| | | | | | | | (GH-101885) (#115833) Update http.cookiejar document for cookie object attributes (GH-101885) (cherry picked from commit a3859422d15d98892fd53499916bd424f841404f) Co-authored-by: NewUserHa <32261870+NewUserHa@users.noreply.github.com>
* [3.12] gh-67044: Always quote or escape \r and \n in csv.writer() ↵Miss Islington (bot)2024-02-233-15/+43
| | | | | | | (GH-115741) (GH-115866) (cherry picked from commit c688c0f130906ff7725a126fff143d1389884f89) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-54358: Clarify data chunking in pyexpat (GH-31629) (GH-115864)Miss Islington (bot)2024-02-231-2/+6
| | | | | | (cherry picked from commit 462a2fc09d9e5f7cdd3a8f2faed73e5bc2c93349) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Éric Araujo <merwok@netwok.org>
* [3.12] gh-90300: Reformat the Python CLI help output (GH-93415) (#115847)Łukasz Langa2024-02-231-95/+95
| | | | | (cherry picked from commit 2e92ffd7fa89e3bd33ee2f31541d3dc53aaa2d12) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-89480: Document the gdb helpers (GH-115657) (GH-115857)Miss Islington (bot)2024-02-232-0/+450
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gh-89480: Document the gdb helpers (GH-115657) Content adapted from https://devguide.python.org/development-tools/gdb/GH- and https://wiki.python.org/moin/DebuggingWithGdb. The original content on the Wiki page came from gdb debug help used by the Launchpad (https://launchpad.net/) team. Thanks to Anatoly Techtonik and user `rmf` for substantial improvements to the Wiki page. The history of the Devguide page follows (with log entries expanded for major content contributions): Hugo van Kemenade, Sat Dec 30 21:22:04 2023 +0200 Hugo van Kemenade, Fri Dec 8 12:04:32 2023 +0200 Erlend E. Aasland & Hugo van Kemenade, Tue Aug 8 22:05:34 2023 +0200 Satish Mishra, Sat Feb 11 13:54:57 2023 +0530 Hugo van Kemenade, Fri Dec 23 17:33:33 2022 +0200 Skip Montanaro, Hugo, Erlend, & Ezio, Fri Nov 4 05:04:23 2022 -0500 Add a GDB tips section to Advanced Tools (GH-977) Adam Turner, Wed Jun 15 21:19:23 2022 +0100 Adam Turner, Tue Jun 14 11:12:26 2022 +0100 Suriyaa, Fri Jun 8 19:39:23 2018 +0200 Jeff Allen, Tue Oct 24 18:12:53 2017 +0100 Jeff Allen, Fri Oct 13 13:43:43 2017 +0100 Mariatta, Wed Jan 4 09:14:55 2017 -0800 Carol Willing, Mon Sep 26 14:50:54 2016 -0700 Zachary Ware, Thu Jul 21 10:42:23 2016 -0500 Georg Brandl, Mon Nov 3 11:28:19 2014 +0100 Add instruction how to activate python-gdb.py Georg Brandl, Sun Mar 9 10:32:01 2014 +0100 Georg Brandl, Tue Apr 3 09:12:53 2012 +0200 Georg Brandl, Sat Mar 5 17:32:35 2011 +0100 Dave Malcolm, Fri Jan 21 12:34:09 2011 -0500 Add documentation on the gdb extension commands provided in libpython.py I adapted this from documentation I wrote for the Fedora wiki: https://fedoraproject.org/wiki/Features/EasierPythonDebuggingGH-New_gdb_commands reformatting it as rst, and making other minor changes Brett Cannon, Thu Jan 20 15:16:52 2011 -0800 Dave Malcolm, Thu Jan 20 16:17:23 2011 -0500 Add some notes on the gdb pretty-printer hooks Antoine Pitrou, Thu Jan 20 21:17:49 2011 +0100 Give an example backtrace Antoine Pitrou, Thu Jan 20 21:03:06 2011 +0100 Expand explanations about gdb support Brett Cannon, Thu Jan 20 11:33:36 2011 -0800 Tweak the gdb support title to fit in better with the devguide. Brett Cannon, Mon Jan 17 21:12:54 2011 +0000 Short README on gdb support. (cherry picked from commit 59057ce55a443f35bfd685c688071aebad7b3671) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: anatoly techtonik <techtonik@gmail.com> Co-authored-by: Antoine Pitrou <solipsis@pitrou.net> Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: Dave Malcolm <dmalcolm@redhat.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Georg Brandl <georg@python.org> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Jeff Allen <ja.py@farowl.co.uk> Co-authored-by: Mariatta <Mariatta@users.noreply.github.com> Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Satish Mishra <7506satish@gmail.com> Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com> Co-authored-by: Suriyaa <isc.suriyaa@gmail.com> Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
* gh-114435: Allow test_stat_inaccessible_file() to have matching ino/dev ↵Miss Islington (bot)2024-02-231-4/+3
| | | | | | | | (GH-114571) This may occur if Windows allows reading stat information from a file even if the current user does not have access. (cherry picked from commit d91ddff5de61447844f1dac575d2e670c8d7e26b) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.12] gh-88516: show file proxy icon in IDLE editor windows on macOS ↵Miss Islington (bot)2024-02-232-1/+12
| | | | | | | | | | | | | | | | (GH-112894) (#115840) The platform standard on macOS is to show a proxy icon for open files in the titlebar of Windows. Make sure IDLE matches this behaviour. Don't use both the long and short names in the window title. The behaviour of other editors (such as Text Editor) is to show only the short name with the proxy icon. (cherry picked from commit b48101864c724a7eab41a6878a836f38e54e04fb) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.12] gh-115663: Remove 'regen-sbom' from the 'regen-all' target ↵Seth Michael Larson2024-02-222-3/+3
| | | | (GH-115790) (#115820)
* [3.12] gh-100762: Fix optimization in gen_close (GH-111069) (#115818)Miss Islington (bot)2024-02-223-8/+5
| | | | | | gh-100762: Fix optimization in gen_close (GH-111069) (cherry picked from commit 0db2517687efcf5ec0174a32398ec1564b3204f1) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.12] gh-115795: Doc: fix obsolete URL (GH-115749) (#115803)Miss Islington (bot)2024-02-221-1/+1
| | | | | | gh-115795: Doc: fix obsolete URL (GH-115749) (cherry picked from commit 7bc79371a62e8f45542cf5679ed35d0d29e94226) Co-authored-by: partev <petrosyan@gmail.com>
* [3.12] gh-112364: Correct unparsing of backslashes and quotes in ast.… ↵Frank Hoffmann2024-02-213-7/+24
| | | | | | (#115782) [3.12] gh-112364: Correct unparsing of backslashes and quotes in ast.unparse (GH-115696) (cherry picked from commit 69ab93082d14425aaac48b8393711c716575b132)
* [3.12] gh-93205: When rotating logs with no namer specified, match whole ↵Miss Islington (bot)2024-02-213-19/+62
| | | | | | | extension (GH-93224) (GH-115784) (cherry picked from commit 113687a8381d6dde179aeede607bcbca5c09d182) Co-authored-by: Gabriele Catania <gabriele.ctn@gmail.com>
* gh-113655: Increase stack reserve size on Windows for when running PGO ↵Steve Dower2024-02-212-0/+2
| | | | (GH-115770)
* [3.12] gh-96310: Fix a traceback in argparse when all options in a mutually ↵Miss Islington (bot)2024-02-213-0/+25
| | | | | | | | | | | | | exclusive group are suppressed (GH-96311) (GH-115767) Reproducer depends on terminal size - the traceback occurs when there's an option long enough so the usage line doesn't fit the terminal width. Option order is also important for reproducibility. Excluding empty groups (with all options suppressed) from inserts fixes the problem. (cherry picked from commit 5f7df88821347c5f44fc4e2c691e83a60a6c6cd5) Co-authored-by: Daniel Mach <daniel.mach@suse.com>
* [3.12] gh-114785: Remove content from `Porting from Python2` how-to ↵Miss Islington (bot)2024-02-213-420/+19
| | | | | | | | | | | (GH-114805) (GH-115327) Keep the page though, because people might still rely on it (the traffic shows that they do). Instead of our own manual we now give links to the 3rd-party ones. (cherry picked from commit 705c76d4a202f1faf41027d48d44eac0e76bb1f0) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.12] gh-115399: Document CVE-2023-52425 under "XML vulnerabilities" ↵Miss Islington (bot)2024-02-212-0/+14
| | | | | | | | (GH-115400) (GH-115760) Doc/library/xml.rst: Document CVE-2023-52425 under "XML vulnerabilities" (cherry picked from commit fbd40ce46e7335a5dbaf48a3aa841be22d7302ba) Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
* [3.12] gh-115653: Document PyCode_GetFirstFree() (GH-115654) (#115752)Miss Islington (bot)2024-02-211-2/+6
| | | | | | | | gh-115653: Document PyCode_GetFirstFree() (GH-115654) Correct the return type of the PyCode_GetNumFree() documentation. (cherry picked from commit 10fc4675fdb14e19f2fdd15102c6533b9f71e992) Co-authored-by: Bogdan Romanyuk <65823030+wrongnull@users.noreply.github.com>
* [3.12] gh-86291: linecache: get module name from __spec__ if available ↵Miss Islington (bot)2024-02-203-7/+45
| | | | | | | | | (GH-22908) (GH-115731) This allows getting source code for the __main__ module when a custom loader is used. (cherry picked from commit e976baba99a5c243ff3a3b5ef2fd14608a398338) Co-authored-by: Eugene Toder <eltoder@users.noreply.github.com>
* [3.12] gh-115712: Support CSV dialects with delimiter=' ' and ↵Serhiy Storchaka2024-02-203-8/+92
| | | | | | | skipinitialspace=True (GH-115721) (GH-115729) csv.writer() now quotes empty fields if delimiter is a space and skipinitialspace is true and raises exception if quoting is not possible. (cherry picked from commit 937d2821501de7adaa5ed8491eef4b7f3dc0940a)
* [3.12] Add missed `stream` argument (GH-111775) (#115716)Miss Islington (bot)2024-02-202-1/+3
| | | | | | | | | | Add missed `stream` argument (GH-111775) * Add missed `stream` argument * Add news (cherry picked from commit 1ff6c1416b0bb422f4847cd84fcb33662a2497ef) Co-authored-by: Alexander Shadchin <shadchin@yandex-team.com>
* [3.12] gh-112020: Document the meaning of empty bytes returned by ↵Miss Islington (bot)2024-02-201-2/+3
| | | | | | | socket.recv() (GH-112055) (GH-115722) (cherry picked from commit e71468ba4f5fb2da0cefe9e923b01811cb53fb5f) Co-authored-by: talcs <talh8787@gmail.com>
* [3.12] Make the title match the content (GH-115702) (gh-115703)Miss Islington (bot)2024-02-202-5/+5
|
* [3.12] Modernize the Sorting HowTo guide (gh-115479) (gh-115701)Miss Islington (bot)2024-02-201-6/+54
|
* [3.12] gh-115539: Allow enum.Flag to have None members (GH-115636) (GH-115694)Miss Islington (bot)2024-02-202-21/+52
| | | | | | gh-115539: Allow enum.Flag to have None members (GH-115636) (cherry picked from commit c2cb31bbe1262213085c425bc853d6587c66cae9) Co-authored-by: Jason Zhang <yurenzhang2017@gmail.com>
* gh-115543: Update py.exe to know about Python 3.13 and to install 3.12 by ↵Miss Islington (bot)2024-02-192-1/+7
| | | | | | | default (GH-115544) (cherry picked from commit 6cd18c75a41a74cab69ebef0b7def3e48421bdd1) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.12] Fix typo in multiprocessing docs (GH-115650) (#115679)Miss Islington (bot)2024-02-191-1/+1
| | | | | (cherry picked from commit 57d31ec3598429789492e0b3544efaaffca5799f) Co-authored-by: Naglis Jonaitis <827324+naglis@users.noreply.github.com>
* [3.12] gh-60346: Improve handling single-dash options in ↵Miss Islington (bot)2024-02-193-23/+57
| | | | | | | ArgumentParser.parse_known_args() (GH-114180) (GH-115675) (cherry picked from commit e47ecbd0420528f1f9f282d9e7acfcf586a4caa1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-115664: Fix versionadded and versionchanged directives in ↵Miss Islington (bot)2024-02-191-15/+14
| | | | | | | multiprocessing.rst (GH-115665) (GH-115677) (cherry picked from commit 8f602981ba95273f036968cfc5ac28fdcd1808fa) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-115664: Fix chronological ordering of versionadded and ↵Brian Schubert2024-02-196-19/+21
| | | | versionchanged directives (GH-115676) (#115678)
* [3.12] gh-115341: Fix loading unit tests with doctests in -OO mode ↵Miss Islington (bot)2024-02-191-1/+1
| | | | | | | (GH-115342) (GH-115671) (cherry picked from commit 872cc9957a9c8b971448e7377fad865f351da6c9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] Fix test_py_compile with -O mode (GH-115345) (GH-115669)Miss Islington (bot)2024-02-191-1/+3
| | | | | (cherry picked from commit 07ef9d86a5efa82d06a8e7e15dd3aff1e946aa6b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] Fix test_compile with -O mode (GH-115346) (GH-115668)Miss Islington (bot)2024-02-191-2/+5
| | | | | (cherry picked from commit 7b25a82e83ad8fe15e4302bb7655309573affa83) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-115154: Fix untokenize handling of unicode named literals ↵Miss Islington (bot)2024-02-193-10/+85
| | | | | | | | (GH-115171) (#115662) gh-115154: Fix untokenize handling of unicode named literals (GH-115171) (cherry picked from commit ecf16ee50e42f979624e55fa343a8522942db2e7) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.12] gh-115652: Fix indentation in the documentation of ↵Miss Islington (bot)2024-02-191-5/+5
| | | | | | | multiprocessing.get_start_method (GH-115658) (GH-115659) (cherry picked from commit d504968983c5cd5ddbdf73ccd3693ffb89e7952f) Co-authored-by: Daniel Haag <121057143+denialhaag@users.noreply.github.com>
* [3.12] Docs: Add explanation about little/big endian (GH-109841) (#115646)Miss Islington (bot)2024-02-191-0/+15
| | | | | | | | Docs: Add explanation about little/big endian (GH-109841) (cherry picked from commit 177b9cb52e57da4e62dd8483bcd5905990d03f9e) Co-authored-by: Simon A. Eugster <simon.eu@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* [3.12] gh-111358: Fix timeout behaviour in ↵Miss Islington (bot)2024-02-193-9/+29
| | | | | | | BaseEventLoop.shutdown_default_executor (GH-115622) (#115641) (cherry picked from commit 53d5e67804227d541ed2f9e8efea8de5d70cb1ec) Co-authored-by: Jamie Phan <jamie@ordinarylab.dev>
* [3.12] gh-115572: Move `codeobject.replace()` docs to the data model … ↵Kirill Podoprigora2024-02-182-7/+7
| | | | | | | | | | | | | | (#115633) * [3.12] gh-115572: Move `codeobject.replace()` docs to the data model (GH-115631) (cherry picked from commit 0c80da4c14d904a367968955544dd6ae58c8101c) Co-authored-by: Daler <48939169+daler-sz@users.noreply.github.com> * Remove note about copy.replace --------- Co-authored-by: Daler <48939169+daler-sz@users.noreply.github.com>
* [3.12] gh-108303: Move `Lib/test/sortperf.py` to `Tools/scripts` (GH-114687) ↵Miss Islington (bot)2024-02-182-169/+196
| | | | | | | | (#115625) gh-108303: Move `Lib/test/sortperf.py` to `Tools/scripts` (GH-114687) (cherry picked from commit f9154f8f237e31e7c30f8698f980bee5e494f1e0) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-115618: Remove improper Py_XDECREFs in property methods ↵Serhiy Storchaka2024-02-173-3/+21
| | | | | (GH-115619) (GH-115620) (cherry picked from commit 090dd21ab9379d6a2a6923d6cbab697355fb7165)
* [3.12] gh-101100: Fix Sphinx warnings in `whatsnew/3.2.rst` (GH-115580) ↵Miss Islington (bot)2024-02-175-44/+96
| | | | | | | (#115589) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] gh-115596: Fix ProgramPriorityTests in test_os permanently changing ↵Miss Islington (bot)2024-02-172-16/+17
| | | | | | | the process priority (GH-115610) (GH-115616) (cherry picked from commit 90dd653a6122a6c5b4b1fe5abe773c4751e5ca25) Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
* [3.12] Fix ProgramPriorityTests on FreeBSD with high nice value (GH-100145) ↵Miss Islington (bot)2024-02-171-1/+2
| | | | | | | | | | (GH-115614) It expects priority to be capped with 19, which is the cap for Linux, but for FreeBSD the cap is 20 and the test fails under the similar conditions. Tweak the condition to cover FreeBSD as well. (cherry picked from commit 437924465de5cb81988d1e580797b07090c26a28) Co-authored-by: Dmitry Marakasov <amdmi3@amdmi3.ru>
* [3.12] gh-107155: Fix help() for lambda function with return annotation ↵Kirill Podoprigora2024-02-173-2/+31
| | | | | (GH-115612) (cherry picked from commit b9a9e3dd62326b726ad2e8e8efd87ca6327b4019)
* [3.12] gh-115567: Catch ↵Miss Islington (bot)2024-02-171-3/+4
| | | | | | | test_ctypes.test_callbacks.test_i38748_stackCorruption stdout output (GH-115568) (GH-115609) (cherry picked from commit 265548a4eaaebc3fb379f85f2a919848927f09e5) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
* [3.12] Document use of ANY in test assertions (GH-94060) (GH-115607)Miss Islington (bot)2024-02-171-0/+8
| | | | | (cherry picked from commit 04005f5021a17b191dae319faaadf1c942af3fe9) Co-authored-by: Thomas Grainger <tagrain@gmail.com>