summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* [3.12] gh-101699: Explain using Match.expand with \g<0> (GH-101701) (GH-115583)Miss Islington (bot)2024-02-171-1/+2
| | | | | | | | | | Update documentation for re library to explain that a backreference `\g<0>` is expanded to the entire string when using Match.expand(). Note that numeric backreferences to group 0 (`\0`) are not supported. (cherry picked from commit d2d78088530433f475d9304104bbc0dac2536edd) Co-authored-by: Stevoisiak <S.Vascellaro@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-101384: Add socket timeout to ThreadedVSOCKSocketStreamTest and ↵Miss Islington (bot)2024-02-171-0/+3
| | | | | | | skip it on WSL (GH-101419) (GH-115585) (cherry picked from commit 9fd420f53d1b1087d2ae648b0efc44107d27d867) Co-authored-by: Peter Jiping Xie <peter.jp.xie@gmail.com>
* [3.12] gh-100985: Consistently wrap IPv6 IP address during CONNECT ↵Miss Islington (bot)2024-02-174-5/+29
| | | | | | | | | | (GH-100986) (GH-115591) Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ". (cherry picked from commit 465db27cb983084e718a1fd9519b2726c96935cb) Co-authored-by: Derek Higgins <derekh@redhat.com>
* [3.12] gh-100884: email/_header_value_parser: don't encode list separators ↵Miss Islington (bot)2024-02-173-1/+9
| | | | | | | | | (GH-100885) (GH-115592) ListSeparator should not be encoded. This could happen when a long line pushes its separator to the next line, which would have been encoded. (cherry picked from commit 09fab93c3d857496c0bd162797fab816c311ee48) Co-authored-by: Thomas Weißschuh <thomas@t-8ch.de>
* [3.12] gh-87688: Amend SSLContext.hostname_checks_common_name docs ↵Miss Islington (bot)2024-02-171-1/+1
| | | | | | | (GH-100517) (GH-115594) (cherry picked from commit debb1386be024181c8c003c5cbf61608024aee09) Co-authored-by: Rami <72725910+ramikg@users.noreply.github.com>
* [3.12] gh-56499: Update the pickle library's note section for the ↵Miss Islington (bot)2024-02-171-2/+2
| | | | | | | __setstate__ function (GH-101062) (GH-115597) (cherry picked from commit d5a30a1777f04523c7b151b894e999f5714d8e96) Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
* [3.12] gh-95782: Fix io.BufferedReader.tell() etc. being able to return ↵Miss Islington (bot)2024-02-174-3/+62
| | | | | | | | | | | | | | | | | | | | | | offsets < 0 (GH-99709) (GH-115599) lseek() always returns 0 for character pseudo-devices like `/dev/urandom` (for other non-regular files, e.g. `/dev/stdin`, it always returns -1, to which CPython reacts by raising appropriate exceptions). They are thus technically seekable despite not having seek semantics. When calling read() on e.g. an instance of `io.BufferedReader` that wraps such a file, `BufferedReader` reads ahead, filling its buffer, creating a discrepancy between the number of bytes read and the internal `tell()` always returning 0, which previously resulted in e.g. `BufferedReader.tell()` or `BufferedReader.seek()` being able to return positions < 0 even though these are supposed to be always >= 0. Invariably keep the return value non-negative by returning max(former_return_value, 0) instead, and add some corresponding tests. (cherry picked from commit 26800cf25a0970d46934fa9a881c0ef6881d642b) Co-authored-by: 6t8k <58048945+6t8k@users.noreply.github.com>
* [3.12] gh-97590: Update docs and tests for ftplib.FTP.voidcmd() (GH-96825) ↵Miss Islington (bot)2024-02-172-4/+4
| | | | | | | | | (GH-115601) Since 2f3941d743481ac48628b8b2c075f2b82762050b this function returns the response string, rather than nothing. (cherry picked from commit e88ebc1c4028cf2f0db43659e513440257eaec01) Co-authored-by: Matthew Hughes <34972397+matthewhughes934@users.noreply.github.com>
* [3.12] gh-96497: Mangle name before symtable lookup in ↵Miss Islington (bot)2024-02-173-4/+34
| | | | | | | 'symtable_extend_namedexpr_scope' (GH-96561) (GH-115603) (cherry picked from commit 664965a1c141e8af5eb465d29099781a6a2fc3f3) Co-authored-by: wookie184 <wookie1840@gmail.com>
* [3.12] gh-101100: Fix Sphinx warnings in `whatsnew/3.1.rst` (GH-115575) ↵Miss Islington (bot)2024-02-172-10/+13
| | | | | | (#115587) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.12] docs: Add glossary term references to shutil docs (GH-115559) (#115578)Miss Islington (bot)2024-02-161-4/+4
| | | | | | | | docs: Add glossary term references to shutil docs (GH-115559) Add glossary term references to shutil docs (cherry picked from commit 318f2190bc93796008b0a4241243b0851b418436) Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
* [3.12] gh-115570: Fix DeprecationWarnings in test_typing (#115571) (#115574)Jelle Zijlstra2024-02-163-2/+16
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] gh-100734: What's New in 3.x: Add missing detail from 3.x branch ↵Miss Islington (bot)2024-02-157-0/+325
| | | | | | (GH-114689) (#115526) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.12] gh-108303: Move all `pydoc` related files to `test_pydoc` (GH-114506) ↵Nikita Sobolev2024-02-157-25/+32
| | | | | (#115502) (cherry picked from commit ccc76c3e88647e416184bb1f5210b4e8946ae358)
* [3.12] GH-113516: don't set `LDSHARED` when building for WASI (GH-115495) ↵Brett Cannon2024-02-152-1/+1
| | | | (GH-115496)
* [3.12] gh-115399: Upgrade bundled libexpat to 2.6.0 (GH-115431) (#115469)Miss Islington (bot)2024-02-1415-306/+431
| | | | | | gh-115399: Upgrade bundled libexpat to 2.6.0 (GH-115431) (cherry picked from commit 4b2d1786ccf913bc80ff571c32b196be1543ca54) Co-authored-by: Seth Michael Larson <seth@python.org>
* [3.12] gh-112302: Move pip SBOM discovery to release-tools (GH-115360) (#115486)Miss Islington (bot)2024-02-142-921/+0
| | | | Co-authored-by: Seth Michael Larson <seth@python.org>
* [3.12] gh-112087: Fix reduce logic for the empty reverse iterator for list ↵Donghee Na2024-02-143-8/+9
| | | | (gh-115471)
* [3.12] Docs: spell out sentence about ndbm/gdbm file formats (GH-115470) ↵Miss Islington (bot)2024-02-141-6/+8
| | | | | | | (#115476) (cherry picked from commit 49e8fdc1df41b6547fb3255f9e3a44dfb3b81fe0) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.12] gh-115243: Fix crash in deque.index() when the deque is concurrently ↵Miss Islington (bot)2024-02-143-2/+8
| | | | | | | modified (GH-115247) (GH-115465) (cherry picked from commit 671360161f0b7a5ff4c1d062e570962e851b4bde) Co-authored-by: kcatss <kcats9731@gmail.com>
* [3.12] gh-115392: Fix doctest reporting incorrect line numbers for decorated ↵Miss Islington (bot)2024-02-145-1/+23
| | | | | | | | functions (GH-115440) (#115459) gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (GH-115440) (cherry picked from commit bb791c7728e0508ad5df28a90b27e202d66a9cfa) Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
* [3.12] Docs: reword sentences about dbm submodule traits (GH-114609) (#115462)Miss Islington (bot)2024-02-141-14/+6
| | | | | | Don't repeatedly say that keys and values are coerced into bytes. (cherry picked from commit 81e140d10b77f0a41a5581412e3f3471cc77981f) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.12] gh-115403: Remove extra colon after "Examples" in datetime ↵Miss Islington (bot)2024-02-141-1/+1
| | | | | | | | documentation (GH-115452) (#115455) gh-115403: Remove extra colon after "Examples" in datetime documentation (GH-115452) (cherry picked from commit 6755c4e0c8803a246e632835030c0b8837b3b676) Co-authored-by: Stanislav Lyu <wallseat@gmail.com>
* [3.12] gh-115450: Fix direct invocation of `test_desctut` (GH-115451) (#115453)Miss Islington (bot)2024-02-141-11/+11
| | | | | | gh-115450: Fix direct invocation of `test_desctut` (GH-115451) (cherry picked from commit ec8909a23931338f81803ea3f18dc2073f74a152) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] ftplib docs: `timeout` doesn't have to be a whole number (GH-115443) ↵Miss Islington (bot)2024-02-141-3/+3
| | | | | | | | (#115445) ftplib docs: `timeout` doesn't have to be a whole number (GH-115443) (cherry picked from commit 3fd2ad8241a61e75b2cd33c697af276863efbb51) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] gh-113437: Update documentation about PyUnicode_AsWideChar() function ↵Miss Islington (bot)2024-02-141-1/+6
| | | | | | | (GH-113455) (GH-115407) (cherry picked from commit 5719aa23ab7f1c7a5f03309ca4044078a98e7b59) Co-authored-by: qqwqqw689 <114795525+qqwqqw689@users.noreply.github.com>
* [3.12] gh-115383: Use runner version to compute config.cache key (GH-115409) ↵Miss Islington (bot)2024-02-143-6/+18
| | | | | | (#115427) Co-authored-by: Sam Gross <colesbury@gmail.com>
* [3.12] gh-101100: Fix sphinx warnings in `c-api/gcsupport.rst` (GH-114786) ↵Miss Islington (bot)2024-02-133-5/+9
| | | | | | (#115263) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-115405: add versionadded tag for co_qualname in code objects ↵Miss Islington (bot)2024-02-131-0/+2
| | | | | | | | documentation (GH-115411) (#115412) gh-115405: add versionadded tag for co_qualname in code objects documentation (GH-115411) (cherry picked from commit de07941729b8899b187b8ef9690f9a74b2d6286b) Co-authored-by: Christophe Papazian <114495376+christophe-papazian@users.noreply.github.com>