summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [3.11] GH-gh-75705: Set unixfrom envelope in mailbox._mboxMMDF (GH-107117) ↵Miss Islington (bot)2024-02-063-3/+15
| | | | | | | (GH-115099) (cherry picked from commit 76108b8b05040fc49a6bc50eb2e990576595c57c) Co-authored-by: Matthieu Caneill <matthieucan@users.noreply.github.com>
* [3.11] gh-46968: Fix invalid reference to Sound eXchange (SoX) 12.17.7 ↵Miss Islington (bot)2024-02-062-47/+48
| | | | | | | license (GH-115094) (GH-115095) (cherry picked from commit b39119916c0daaf5e5fdfec63e18ad97f29e2e72) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.11] gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (GH-115080)Miss Islington (bot)2024-02-063-2/+3
| | | | | | gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (cherry picked from commit 618d7256e78da8200f6e2c6235094a1ef885dca4) Co-authored-by: Zachary Ware <zach@python.org>
* [3.11] gh-89811: Check for valid tp_version_tag in specializer (GH-115045)Peter Lazorchak2024-02-064-1/+216
| | | | | | | * gh-89811: Check for valid tp_version_tag in specializer (GH-113558) * gh-113937 Fix failures in type cache tests due to re-running (GH-113953) * Update backported code for 3.11 specifically
* [3.11] gh-115009: Update macOS installer to use SQLite 3.45.1 (#115066) ↵Erlend E. Aasland2024-02-062-3/+4
| | | | | | | (#115072) (cherry picked from commit 13eb5215c9de9dd302f116ef0bca4ae23b02842b) Co-authored-by: Ned Deily <nad@python.org>
* [3.11] gh-115015: Argument Clinic: fix generated code for METH_METHOD ↵Erlend E. Aasland2024-02-0622-48/+143
| | | | | methods without params (#115016) (#115069) (cherry picked from commit 09096a1647913526a3d4fa69a9d2056ec82a8f37)
* [3.11] gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.13. (GH-115057)Ned Deily2024-02-064-5/+8
| | | Also update multissltests to use 1.1.1w, 3.0.13, 3.1.5, and 3.2.1.
* [3.11] gh-109991: Update macOS installer to use OpenSSL 3.0.13. (GH-115054)Miss Islington (bot)2024-02-062-3/+4
| | | | | (cherry picked from commit 638e811a3c54a81d8af5a4c08b9497d210823f78) Co-authored-by: Ned Deily <nad@python.org>
* [3.11] gh-109991: Update Windows build to use OpenSSL 3.0.13 (#115048)Zachary Ware2024-02-063-4/+5
| | | (cherry picked from commit 01dceba13e872e9ca24b8e00a2b75db3d0d6c1a3)
* [3.11] gh-109475: Fix support of explicit option value "--" in argparse ↵Serhiy Storchaka2024-02-053-1/+20
| | | | | | (GH-114814) (GH-115037) For example "--option=--". (cherry picked from commit 4aa4f0906df9fc9c6c6f6657f2c521468c6b1688)
* [3.11] gh-114967: Fix "Built-in Exceptions" documentation ambiguous wording ↵Miss Islington (bot)2024-02-051-1/+1
| | | | | | | | | | (GH-114968) (#115034) Change the somewhat vague "listed below" to "listed in this chapter" in Doc/library/exceptions.rst. The exceptions are listed in multiple sections after two intermediate sections. --------- (cherry picked from commit 750489cc774df44daa2c0d23e8a404fe62be93d1) Co-authored-by: HarryLHW <123lhw321@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-114392: Improve test_capi.test_structmembers (GH-114393) (GH-115030)Serhiy Storchaka2024-02-051-99/+89
| | | | | | Test all integer member types with extreme values and values outside of the valid range. Test support of integer-like objects. Test warnings for wrapped out values. (cherry picked from commit 15f6f048a6ecdf0f6f4fc076d013be3d110f8ed6)
* [3.11] GH-69695: Update ``PyImport_ImportModule`` description (GH-103836) ↵Miss Islington (bot)2024-02-051-14/+2
| | | | | | | | | | | (GH-114924) GH-69695: Update ``PyImport_ImportModule`` description (GH-103836) (cherry picked from commit 9872855a31720f514b84373848b49fca09d66ecd) Co-authored-by: patenaud <33957588+patenaud@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.11] Remove bogus syntax error marker in csv doc (GH-115017) (#115019)Miss Islington (bot)2024-02-051-1/+0
| | | | | (cherry picked from commit 39ec7fbba84663ab760853da2ac422c2e988d189) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-114887 Reject only sockets of type SOCK_STREAM in create_da… ↵Travis Howse2024-02-053-3/+5
| | | | | | | | | (#114979) Also improve exception message. (cherry picked from commit 94ec2b9c9ce898723c3fe61fbc64d6c8f4f68700) Co-authored-by: Donghee Na <donghee.na92@gmail.com>
* [3.11] Bump ruff to 0.2.0 (#114932) (#115008)Alex Waygood2024-02-042-4/+6
|
* [3.11] gh-113803: Fix inaccurate documentation for shutil.move when dst is ↵Miss Islington (bot)2024-02-042-16/+19
| | | | | | | | | an existing directory (GH-113837) (#115007) * fix the usage of dst and destination in shutil.move doc * update shutil.move doc (cherry picked from commit da8f9fb2ea65cc2784c2400fc39ad8c800a67a42) Co-authored-by: Dai Wentao <dwt136@gmail.com>
* [3.11] gh-114388: Fix warnings when assign an unsigned integer member ↵Serhiy Storchaka2024-02-043-28/+97
| | | | | | | | | | (GH-114391) (GH-115002) * Fix a RuntimeWarning emitted when assign an integer-like value that is not an instance of int to an attribute that corresponds to a C struct member of type T_UINT and T_ULONG. * Fix a double RuntimeWarning emitted when assign a negative integer value to an attribute that corresponds to a C struct member of type T_UINT. (cherry picked from commit 3ddc5152550ea62280124c37d0b4339030ff7df4)
* [3.11] gh-113951: Tkinter: "tag_unbind(tag, sequence, funcid)" now only ↵Miss Islington (bot)2024-02-043-11/+117
| | | | | | | | | | | | | | unbinds "funcid" (GH-113955) (GH-114998) Previously, "tag_unbind(tag, sequence, funcid)" methods of Text and Canvas widgets destroyed the current binding for "sequence", leaving "sequence" unbound, and deleted the "funcid" command. Now they remove only "funcid" from the binding for "sequence", keeping other commands, and delete the "funcid" command. They leave "sequence" unbound only if "funcid" was the last bound command. (cherry picked from commit 7e42fddf608337e83b30401910d76fd75d5cf20a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-113280: Always close socket if SSLSocket creation failed ↵Miss Islington (bot)2024-02-043-64/+78
| | | | | | | | (GH-114659) (GH-114996) (cherry picked from commit 0ea366240b75380ed7568acbe95d72e481a734f7) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Thomas Grainger <tagrain@gmail.com>
* [3.11] gh-101100: Fix dangling references in pickle.rst (GH-114972) (#114992)Miss Islington (bot)2024-02-042-26/+26
| | | | | | | gh-101100: Fix dangling references in pickle.rst (GH-114972) (cherry picked from commit ec69e1d0ddc9906e0fb755a5234aeabdc96450ab) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-101100: Fix Sphinx warnings from PEP 3108 stdlib re-organisation ↵Hugo van Kemenade2024-02-048-91/+91
| | | | | | (GH-114327) (#114989) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-114965: Updated bundled pip to 24.0 (gh-114966) (gh-114973)Stéphane Bidoul2024-02-033-1/+2
| | | | Updated bundled pip to 24.0. (cherry picked from commit a4c298c1494b602a9650b597aad50b48e3fa1f41)
* [3.11] gh-101100: Fix Sphinx reference warnings in the glossary (GH-114729) ↵Miss Islington (bot)2024-02-031-3/+5
| | | | | | | | | (#114970) gh-101100: Fix Sphinx reference warnings in the glossary (GH-114729) (cherry picked from commit ab76d37948fd506af44762dc1c3e32f27d1327a8) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.11] gh-114959: tarfile: do not ignore errors when extract a directory on ↵Miss Islington (bot)2024-02-035-1/+220
| | | | | | | | top of a file (GH-114960) (GH-114964) Also, add tests common to tarfile and zipfile. (cherry picked from commit 96bce033c4a4da7112792ba335ef3eb9a3eb0da0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-114955: Add clear to MutableSequence's mixin methods in document ↵Miss Islington (bot)2024-02-031-2/+2
| | | | | | | | (gh-114956) (#114962) gh-114955: Add clear to MutableSequence's mixin methods in document (gh-114956) (cherry picked from commit b4240fd68ecd2c22ec82ac549eabfe5fd35fab2a) Co-authored-by: AN Long <aisk@users.noreply.github.com>
* [3.11] Update LOGGING example taken from Django docs. (GH-114903) (#114952)Miss Islington (bot)2024-02-031-14/+11
| | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* [3.11] Normalize heading underline in multiprocessing.rst (GH-114923) (#114947)Miss Islington (bot)2024-02-031-26/+26
| | | | | | This gets rid of the mildly confusing `>>>>>>>' underlines which look vaguely like `diff` punctuation. (cherry picked from commit 00d7109075dfaadf438362c084e8a1890c53d4c8) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
* [3.11] gh-114913: Add newline to subprocess doc (GH-114941) (#114943)Miss Islington (bot)2024-02-021-1/+2
| | | | | | | *creationflags* is a separate topic from *startupinfo*. Start sentence with 'If given', like previous sentence. (cherry picked from commit 1183f1e6bfba06ae6c8ea362f96e977bc288e627) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] Correct timedelta description (GH-101417) (GH-114939)Miss Islington (bot)2024-02-021-3/+3
| | | | | | | It only represents the difference between two datetime or date objects, not between two time objects. (cherry picked from commit 73d20cafb54193c94577ca60df1ba0410b3ced74) Co-authored-by: John Belmonte <john@neggie.net>
* [3.11] Fix indentation of "versionchanged" in datetime.rst (GH-114933) ↵Miss Islington (bot)2024-02-021-3/+3
| | | | | | | (GH-114936) (cherry picked from commit b27812d6320e35d62d91f1b3714be1e38021101a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-103360: Add link in stdtypes.rst to escape sequences in ↵Miss Islington (bot)2024-02-022-1/+6
| | | | | | | | | lexical_analysis.rst (GH-103638) (#114908) (cherry picked from commit d29f57f6036353b4e705a42637177442bf7e07e5) Co-authored-by: Justin Williams <97240811+juswil@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-114728: Fix documentation for comparison of objects in datetime ↵Miss Islington (bot)2024-02-021-68/+50
| | | | | | | module (GH-114749) (GH-114929) (cherry picked from commit c12240ed28aac6494750e00143bc550c4d6d8ad1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-103820: IDLE: Do not interpret buttons 4/5 as scrolling on non-X11 ↵Miss Islington (bot)2024-02-024-14/+25
| | | | | | | | | (GH-103821) (GH-114902) Also fix test_mousewheel: do not skip a check which was broken due to incorrect delta on Aqua and XQuartz, and probably not because of `.update_idletasks()`. (cherry picked from commit d25d4ee60cc789a8b9c222859bb720ade1ab2e30) Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
* [3.11] Move "format" param doc of shutil.make_archive() on its own paragraph ↵Miss Islington (bot)2024-02-021-1/+3
| | | | | | | (GH-103829) (GH-114898) (cherry picked from commit 53339a0ef72fcfc15221792b117c4670b07a0b20) Co-authored-by: Michal Kaptur <kaptur.michal@gmail.com>
* [3.11] gh-89891: Refer SharedMemory implementation as POSIX (GH-104678) ↵Miss Islington (bot)2024-02-011-1/+1
| | | | | | | | (GH-114874) It only uses POSIX API. (cherry picked from commit 500ede01178a8063bb2a3c664172dffa1b40d7c9) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* [3.11] gh-101100: Fix sphinx warnings in `howto/logging.rst` (GH-114846) ↵Miss Islington (bot)2024-02-013-24/+36
| | | | | | | | | | (#114872) gh-101100: Fix sphinx warnings in `howto/logging.rst` (GH-114846) (cherry picked from commit dc01b919c721f43ad024ba444a5d19541370e581) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.11] Correct description of inheriting from another class (GH-114660) ↵Miss Islington (bot)2024-02-014-19/+18
| | | | | | | | (#114869) "inherits <someclass>" grates to this reader. I think it should be "inherits from <someclass>". (cherry picked from commit c9c6e04380ffedd25ea2e582f9057ab9612960c9) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
* [3.11] gh-105031: Clarify datetime documentation for ISO8601 (GH-105049) ↵Miss Islington (bot)2024-02-011-3/+15
| | | | | | | (GH-114867) (cherry picked from commit e9dab656380ec03d628979975646748330b76b9b) Co-authored-by: Nicholas Hollander <31573882+nhhollander@users.noreply.github.com>
* [3.11] gh-105089: Fix test_create_directory_with_write test failure in AIX ↵Miss Islington (bot)2024-02-012-1/+5
| | | | | | | (GH-105228) (GH-114861) (cherry picked from commit 4dbb198d279a06fed74ea4c38f93d658baf38170) Co-authored-by: Ayappan Perumal <ayappap2@in.ibm.com>
* [3.11] gh-107461 ctypes: Add a testcase for nested `_as_parameter_` lookup ↵Miss Islington (bot)2024-02-011-0/+11
| | | | | | | (GH-107462) (GH-114859) (cherry picked from commit 0bf42dae7e73febc76ea96fd58af6b765a12b8a7) Co-authored-by: Tomas R <tomas.roun8@gmail.com>
* [3.11] Fix typos in ElementTree documentation (GH-108848) (GH-114855)Miss Islington (bot)2024-02-011-3/+3
| | | | | | PI objects instead of comment objects. (cherry picked from commit de6f97cd3519c5d8528d8ca1bb00fce4e9969671) Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
* [3.11] gh-114648: Add IndexError exception to tutorial datastructures ↵Miss Islington (bot)2024-02-011-4/+3
| | | | | | | | list.pop entry (GH-114681) (#114842) Remove redundant explanation of optional argument. (cherry picked from commit 57c3e775df5a5ca0982adf15010ed80a158b1b80) Co-authored-by: srinivasan <shivnaren@gmail.com>
* [3.11] CI: Test on macOS M1 (GH-114766) (#114835)Miss Islington (bot)2024-02-011-2/+9
| | | | | | Test on macOS M1 (cherry picked from commit 854e2bc42340b22cdeea5d16ac8b1ef3762c6909) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.11] gh-109534: fix reference leak when SSL handshake fails (GH-114074) ↵Miss Islington (bot)2024-02-013-0/+8
| | | | | | | | (#114830) gh-109534: fix reference leak when SSL handshake fails (GH-114074) (cherry picked from commit 80aa7b3688b8fdc85cd53d4113cb5f6ce5500027) Co-authored-by: Jamie Phan <jamie@ordinarylab.dev>
* [3.11] gh-111112: Avoid potential confusion in TCP server example. ↵Miss Islington (bot)2024-02-011-3/+4
| | | | | | | | | | | | | | | | | | | (GH-111113) (#114832) gh-111112: Avoid potential confusion in TCP server example. (GH-111113) Improve misleading TCP server docs and example. socket.recv(), as documented by the Python reference documentation, returns at most `bufsize` bytes, and the underlying TCP protocol means there is no guaranteed correspondence between what is sent by the client and what is received by the server. This conflation could mislead readers into thinking that TCP is datagram-based or has similar semantics, which will likely appear to work for simple cases, but introduce difficult to reproduce bugs. (cherry picked from commit a79a27242f75fc33416d4d135a4a542898d140e5) Co-authored-by: Aidan Holm <alfh@google.com>
* [3.11] Add note to `sys.orig_argv` clarifying the difference from `sys.argv` ↵Miss Islington (bot)2024-01-311-1/+4
| | | | | | | | | (GH-114630) (#114822) Add note to `sys.orig_argv` clarifying the difference from `sys.argv` (GH-114630) (cherry picked from commit 1836f674c0d86ec3375189a550c8f4a52ff89ae8) Co-authored-by: Bradley Reynolds <bradley.reynolds@darbia.dev> Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* [3.11] gh-114790: Do not execute `workflows/require-pr-label.yml` on forks ↵Miss Islington (bot)2024-01-311-0/+1
| | | | | | | (GH-114791) (#114801) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.11] gh-114737: Revert change to ElementTree.iterparse "root" attribute ↵Miss Islington (bot)2024-01-312-1/+3
| | | | | | | | | | (GH-114755) (GH-114799) Prior to gh-114269, the iterator returned by ElementTree.iterparse was initialized with the root attribute as None. This restores the previous behavior. (cherry picked from commit 66f95ea6a65deff547cab0d312b8c8c8a4cf8beb) Co-authored-by: Sam Gross <colesbury@gmail.com>
* [3.11] gh-101100: Fix class reference in library/test.rst (GH-114769) ↵Miss Islington (bot)2024-01-311-1/+1
| | | | | | | | | | (GH-114793) The text clearly seems to be referencing `TestFuncAcceptsSequencesMixin`, for which no target is available. Name the class properly and suppress the dangling reference. (cherry picked from commit 7a93db44257c0404dc407ff2ddc997f4bb8890ed) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>