summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.11.4v3.11.4Pablo Galindo2023-06-0683-7006/+10733
|
* [3.11] gh-104411: Update test_getint for Tcl 9.0 (GH-104412) (#105357)Miss Islington (bot)2023-06-061-1/+4
| | | | | | gh-104411: Update test_getint for Tcl 9.0 (GH-104412) (cherry picked from commit 2c49c759e880a32539f50c31dbd35d2bc4b4e030) Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
* [3.11] gh-104399: Use newer libtommath APIs when necessary (GH-104407) (#105344)Miss Islington (bot)2023-06-062-2/+25
| | | | | | gh-104399: Use newer libtommath APIs when necessary (GH-104407) (cherry picked from commit 00d73caf804c0474980e471347d6385757af975f) Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
* [3.11] gh-90005: Don't link with libbsd if not needed (#105236) (#105359)Erlend E. Aasland2023-06-063-6/+6
| | | | The regression was introduced with commit 5b946cada. Restore pre gh-29696 behaviour.
* [3.11] gh-89412: Add missing attributes (added in 3.10) to traceback module ↵Miss Islington (bot)2023-06-053-2/+18
| | | | | | | docs (GH-105046) (#105328) (cherry picked from commit a4f72fa39a9d391c7b931ba1906d81da4ae01949) Co-authored-by: Jakub Kuczys <me@jacken.men>
* [3.11] gh-105286: Improve typing.py docstrings (#105287) (#105322)Alex Waygood2023-06-051-201/+234
| | | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] gh-105164: Detect annotations inside match blocks (GH-105177). (#105314)Jelle Zijlstra2023-06-053-0/+122
| | | (cherry picked from commit 69d1245685cf95ddc678633e978a56673da64865)
* [3.11] gh-105080: Fixed inconsistent signature on derived classes (GH… ↵Tian Gao2023-06-043-11/+31
| | | | (#105274)
* [3.11] gh-104882: Docs: fix description of relationship between ↵Miss Islington (bot)2023-06-041-1/+1
| | | | | | | | `socket.getblocking()` and `socket.gettimeout()` (GH-105026) (#105284) gh-104882: Docs: fix description of relationship between `socket.getblocking()` and `socket.gettimeout()` (GH-105026) (cherry picked from commit 5a5ed7a3e616a372f054a1dd2e9a31ba32a87a67) Co-authored-by: Joe Geisbauer <joegeisbauer@gmail.com>
* [3.11] gh-105184: document that marshal functions can fail and need to be ↵Miss Islington (bot)2023-06-022-0/+8
| | | | | | | | checked with PyErr_Occurred (GH-105185) (#105219) gh-105184: document that marshal functions can fail and need to be checked with PyErr_Occurred (GH-105185) (cherry picked from commit ee26ca13a129da8cf549409d0a1b2e892ff2b4ec) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.11] gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (GH-105174) ↵Gregory P. Smith2023-06-0111-16/+185
| | | | | | | | | | | | | | | (#105200) Upgrade builds to OpenSSL 1.1.1u. This OpenSSL version addresses a pile if less-urgent CVEs since 1.1.1t. The Mac/BuildScript/build-installer.py was already updated. Also updates _ssl_data_111.h from OpenSSL 1.1.1u, _ssl_data_300.h from 3.0.9. Manual edits to the _ssl_data_300.h file prevent it from removing any existing definitions in case those exist in some peoples builds and were important (avoiding regressions during backporting). (cherry picked from commit ede89af)
* gh-105146: Update links at end of Windows installer (uninstall/repair) ↵Miss Islington (bot)2023-05-312-3/+5
| | | | | | | (GH-105147) (cherry picked from commit ed86e14b1672f32f0a31d72070e93d361ee0e2b4) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.11] gh-105096: Reformat wave documentation (#105136) (#105138) (#105155)Victor Stinner2023-05-312-100/+108
| | | | | | | | | | | | | | | [3.12] gh-105096: Reformat wave documentation (#105136) (#105138) gh-105096: Reformat wave documentation (#105136) Add ".. class::" markups in the wave documentation. * Reformat also wave.py (minor PEP 8 changes). * Remove redundant "import struct": it's already imported at top level. * Remove wave.rst from .nitignore (cherry picked from commit 85e5d03163cac106ac8ec142ef03f1349a48948b) (cherry picked from commit 01b42f9559b614d729c3f055d09269db13d2433c)
* [3.11] gh-103142: Update macOS installer to use OpenSSL 1.1.1u. (GH-105131)Miss Islington (bot)2023-05-312-3/+4
| | | | | (cherry picked from commit f90d3f68db720bd6d0deda8cc0030339ccd43858) Co-authored-by: Ned Deily <nad@python.org>
* Enable the ABI check job to publish the updated ABI data file (GH-105103)Steve Dower2023-05-301-1/+14
|
* [3.11] GH-89455: Add missing attributes (added in 3.11) to traceback module ↵Miss Islington (bot)2023-05-293-1/+23
| | | | | | | | docs (GH-105044) (#105067) GH-89455: Add missing attributes (added in 3.11) to traceback module docs (GH-105044) (cherry picked from commit 39f6a0489fcc815a578d27dfee2feea003c896f8) Co-authored-by: Jakub Kuczys <me@jacken.men>
* [3.11] gh-103921: Improve typing documentation (GH-104642) (#105007)Jelle Zijlstra2023-05-272-158/+190
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-104497: Make tkinter test pass with tk 8.7 (GH-104789) (#105029)Miss Islington (bot)2023-05-271-1/+4
| | | | | | | | | | For test_widgets.MenuTest.test_configure_type, the options in the error message change to alphabetical order. --------- (cherry picked from commit 897e716d03d559a10dd5015ecb501ceb98955f3a) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] CI: Precompute hash for config cache key in check_source job ↵Itamar Ostricher2023-05-271-5/+10
| | | | (GH-105008) (#105024)
* [3.11] gh-104992: [What's New in 3.11] Document ↵Miss Islington (bot)2023-05-271-0/+4
| | | | | | | | | | unittest.TestProgram.usageExit's deprecation (GH-104994) (#105010) gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (GH-104994) Document unittest.TestProgram.usageExit's pending removal in 3.13 (cherry picked from commit 7df861c23cd61e7c55943d4036ea5c6b1df5cb49) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-104984: remove kwargs and starargs from Call & ClassDef ↵Miss Islington (bot)2023-05-261-6/+3
| | | | | | | | | | (GH-104986) (#104988) gh-104984: remove kwargs and starargs from Call & ClassDef (GH-104986) These fields are removed in https://github.com/python/cpython/commit/025e9ebd0a0a19f50ca83af6ada0ac65be1fa2a1 (cherry picked from commit 61c1d6760facbc172a58512cad46148f587b4da1) Co-authored-by: Shaygan Hooshyari <sh.hooshyari@gmail.com>
* [3.11] CI: Cache config.cache across runs to speed up build (GH-104800) ↵Hugo van Kemenade2023-05-261-5/+34
| | | | | | (#104968) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] Remove raw asserts in test_typing.py (GH-104951) (#104979)Miss Islington (bot)2023-05-261-22/+30
| | | | | | Remove raw asserts in test_typing.py (GH-104951) (cherry picked from commit 2cb445635e99d4401949cabebd373288cfdd0138) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.11] gh-104924: Fix `read()able` in `http.client` log messages (gh-104926) ↵Miss Islington (bot)2023-05-261-2/+2
| | | | | | | | (gh-104971) gh-104924: Fix `read()able` in `http.client` log messages (gh-104926) (cherry picked from commit 6c81d7572edbe3a5800b1128e55a2dcef03cc13c) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* [3.11] gh-104943: Remove mentions of old Python versions (GH-104945) (#104962)Miss Islington (bot)2023-05-262-4/+2
| | | | | (cherry picked from commit 46857d0b2a2ac6aeb6dcce2bf2c92ddf4abe7496) Co-authored-by: Tomas R <tomas.roun8@gmail.com>
* [3.11] Fix typo in the tokenizer (GH-104950) (#104952)Miss Islington (bot)2023-05-261-1/+1
| | | | | (cherry picked from commit 705e387dd81b971cb1ee5727da54adfb565f61d0) Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* [3.11] gh-104479: Update outdated tutorial floating-point reference ↵Shantanu2023-05-261-10/+17
| | | | | | | (GH-104681) (#104961) (cherry picked from commit 2cf04e455d8f087bd08cd1d43751007b5e41b3c5) Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* [3.11] Fix test_importlib.test_side_effect_import() (GH-104840) (#104843)Miss Islington (bot)2023-05-251-1/+2
| | | | | | | | | | | Fix test_importlib.test_side_effect_import() (GH-104840) Wait until the thread spawn by the import completes to avoid dangling threads. With this fix, the following command no longer fails: ./python -m test --fail-env-changed test_importlib -m test_side_effect_import -F -j20 (cherry picked from commit 426950993f6a39cdf3f6a3333ac8b518833c7e61) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.11] gh-104874: Document NewType.__supertype__ (GH-104875) (#104907)Miss Islington (bot)2023-05-242-0/+14
| | | | | | gh-104874: Document NewType.__supertype__ (GH-104875) (cherry picked from commit 41768a2bd3a8f57e6ce4e4ae9cab083b69817ec1) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.11] Improve test coverage for is_typeddict (GH-104884) (#104888)Miss Islington (bot)2023-05-241-3/+16
| | | | | | | In particular, it's important to test that is_typeddict(TypedDict) returns False. (cherry picked from commit 1497607a8e99f1103c40368dd5f9057f0146a520) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.11] gh-103207: The macOS 13 Ventura Installer.app permission problem is ↵Ned Deily2023-05-241-5/+7
| | | | fixed by Apple in macOS 13.4. (GH-104885)
* [3.11] gh-104719: IDLE - test existence of all tokenize references. ↵Miss Islington (bot)2023-05-245-12/+54
| | | | | | | | | | | | | (GH-104767) (#104845) gh-104719: IDLE - test existence of all tokenize references. (GH-104767) Class editor.IndentSearcher contains all editor references to tokenize module. Module io tokenize reference cover those other modules. (cherry picked from commit e561c09975bf67ad8bb67c56a81e30a9165bcc84) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.11] gh-104372: Cleanup _posixsubprocess make_inheritable for async signal ↵Gregory P. Smith2023-05-242-34/+92
| | | | | | | | | | | | | | | | safety gh-104518 (#104785) Move all of the Python C API calls into the parent process up front instead of doing PyLong_AsLong and PyErr_Occurred and PyTuple_GET from the post-fork/vfork child process. Much of this was long overdue. We shouldn't have been using PyTuple and PyLong APIs within all of these low level functions anyways. This is a backport of c649df6 for #104518 and the tiny adjustment in d1732fe #104697. Backporting this allows backporting of the real bug fix that requires it. Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org>
* [3.11] gh-104271: Fix auto() fallback in case of mixed type Enum (GH-104809)Miss Islington (bot)2023-05-232-2/+5
| | | | | | [3.12] gh-104271: Fix auto() fallback in case of mixed type Enum (GH-104279) (cherry picked from commit f4e2049f14d40c1b893c68530eec5e341cf3d929) Co-authored-by: Itamar Ostricher <itamarost@gmail.com>
* [3.11] gh-103726: Set up gcc-10 for ASAN (gh-103728) (#104794)Miss Islington (bot)2023-05-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set up gcc-10 for ASAN CI as the existing config's default 9.x does not play well with `vfork()`. <!-- Thanks for your contribution! Please read this comment in its entirety. It's quite important. GH- Pull Request title It should be in the following format: ``` gh-NNNNN: Summary of the changes made ``` Where: gh-NNNNN refers to the GitHub issue number. Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue. GH- Backport Pull Request title If this is a backport PR (PR made against branches other than `main`), please ensure that the PR title is in the following format: ``` [X.Y] <title from the original PR> (GH-NNNN) ``` Where: [X.Y] is the branch name, e.g. [3.6]. GH-NNNN refers to the PR number from `main`. --> <!-- gh-issue-number: gh-103726 --> * Issue: gh-103726 <!-- /gh-issue-number --> (cherry picked from commit 83305808000e03cbad31ac3e9ef65454fb409282) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* [3.11] howto/urllib2: remove link to an outdated french translation ↵Miss Islington (bot)2023-05-221-7/+0
| | | | | | | | | | (GH-104193) (GH-104746) howto/urllib2: remove link to an outdated french translation (GH-104193) We now have our own translation and it's not outdated (cherry picked from commit 151b6bfb5d9a15b6e2682e5a3008a3f9ec3086ae) Co-authored-by: Mathieu Dupuy <deronnax@gmail.com>
* [3.11] gh-104536: Improve `multiprocessing.process._cleanup` logic ↵Miss Islington (bot)2023-05-222-1/+4
| | | | | | | | | | | | | (GH-104537) (#104737) Fix a race condition in the internal `multiprocessing.process` cleanup logic that could manifest as an unintended `AttributeError` when calling `BaseProcess.close()`. (cherry picked from commit ef5d00a59207a63c6d5ae0d5d44054847d1bf3b5) Co-authored-by: Luccccifer <lukezhang764@gmail.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* [3.11] gh-102978: Fix mock.patch function signatures for class and ↵Miss Islington (bot)2023-05-225-0/+58
| | | | | | | | | | | staticmethod decorators (GH-103228) (#103499) Fixes unittest.mock.patch not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True. (cherry picked from commit 59e0de4903c02e72b329e505fddf1ad9794928bc) Co-authored-by: Tomas R <tomas.roun8@gmail.com>
* [3.11] Add IPv6 into to the docstring for socket.getsockname (GH-102961) ↵Miss Islington (bot)2023-05-221-1/+2
| | | | | | | | | (#103137) Add IPv6 into to the docstring for socket.getsockname (GH-102961) (cherry picked from commit ecc5441505cd7cb54f3d38409c732e2e9f102137) Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Co-authored-by: Brian Haley <brianphaley@gmail.com>
* [3.11] gh-104683: `clinic.py`: Improve coverage for the `parse_converter` ↵Alex Waygood2023-05-211-0/+39
| | | | method (#104729) (#104730)
* [3.11] gh-103606: Improve error message from logging.config.FileConfig ↵Prince Roshan2023-05-213-6/+61
| | | | | | | | | (GH-103628) (#104687) * gh-103606: Improve error message from logging.config.FileConfig (GH-103628) (cherry picked from commit 152227b569c3a9b87fe0483706f704762ced6d75) plus backport the followup exception change fix to that in #104701
* [3.11] gh-104719: IDLE - delete useless monkeypatch of tokenize (GH-104726) ↵Miss Islington (bot)2023-05-211-12/+6
| | | | | | | | (#104727) gh-104719: IDLE - delete useless monkeypatch of tokenize (GH-104726) (cherry picked from commit 0c5e79bcdf99a6a07c65b0ea6d7701b6e041481c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] typing docs: Move some classes out of the "Generics" section ↵Jelle Zijlstra2023-05-211-122/+125
| | | | | | | | | | | | | | | | (GH-104707) (#104721) - AnyStr can be used in type annotations, contrary to the section header - Unpack can also be used in annotations, and its use is not restricted to generics. It makes more sense with other building blocks like Required. - Protocol is not necessarily generic. Also fix the indentation for two notes associated with Concatenate. (cherry picked from commit ab71acd67b5b09926498b8c7f855bdb28ac0ec2f) --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] Corrected identifier (GH-104713) (#104714)Miss Islington (bot)2023-05-211-1/+1
| | | | | | Corrected identifier (GH-104713) (cherry picked from commit 60993ba8b4a04dfcf2d3067d919bcce160f01bd5) Co-authored-by: William Sawyer <wmsawyer2609@gmail.com>
* [3.11] gh-104698: Fix reference leak in mmapmodule.c (GH-104700) (#104710)Miss Islington (bot)2023-05-211-3/+19
| | | | | | (cherry picked from commit 99b641886a09252bbcf99a1d322fa8734f1ca30d) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.11] gh-101857: Allow xattr detection on musl libc (GH-101858) (#101894)Miss Islington (bot)2023-05-212-1/+3
| | | | | | | | | | | | | | | gh-101857: Allow xattr detection on musl libc (GH-101858) Previously, we checked exclusively for `__GLIBC__` (AND'd with some other conditions). Checking for `__linux__` instead should be fine. This fixes using e.g. `os.listxattr()` on systems using musl libc. Bug: https://bugs.gentoo.org/894130 (cherry picked from commit 8be8101bca34b60481ec3d7ecaea4a3379fb7dbb) Co-authored-by: Sam James <sam@gentoo.org> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* [3.11] gh-49174: document that the effect of calling gc.collect() during a ↵Miss Islington (bot)2023-05-201-0/+3
| | | | | | | | collection is undefined (GH-104699) (#104703) gh-49174: document that the effect of calling gc.collect() during a collection is undefined (GH-104699) (cherry picked from commit 30488fa22a8f63753192ae7f1d01665857764e45) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.11] gh-104679 Fixed syntax highlighting in turtle docs (GH-104682). (#104695)han-solo2023-05-201-71/+71
| | | (cherry picked from commit 2c97878bb8a09f5aba8bf413bb794f6efd5065df)
* [3.11] gh-56276: Add tests to test_compare (GH-3199) (#104694)Miss Islington (bot)2023-05-201-17/+409
| | | | | | | | gh-56276: Add tests to test_compare (GH-3199) (cherry picked from commit 68ee8b3f15b744339c156bfeb583a414061ab22d) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* [3.11] gh-103987: fix several crashes in mmap module (GH-103990) (#104677)Miss Islington (bot)2023-05-203-3/+101
| | | | | | | | gh-103987: fix several crashes in mmap module (GH-103990) (cherry picked from commit ceaa4c3476ac49b5b31954fec53796c7a3b40349) Co-authored-by: Prince Roshan <princekrroshan01@gmail.com> Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>