summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.11.8v3.11.8Pablo Galindo2024-02-0696-226/+995
|
* [3.11] GH-gh-75705: Set unixfrom envelope in mailbox._mboxMMDF (GH-107117) ↵Miss Islington (bot)2024-02-061-0/+1
| | | | | | | (GH-115099) (cherry picked from commit 76108b8b05040fc49a6bc50eb2e990576595c57c) Co-authored-by: Matthieu Caneill <matthieucan@users.noreply.github.com>
* [3.11] gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (GH-115080)Miss Islington (bot)2024-02-061-0/+1
| | | | | | 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-061-0/+2
| | | | | | | * 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-061-0/+1
| | | | | | | (#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-061-0/+5
| | | | | 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-061-0/+2
| | | 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-061-0/+1
| | | | | (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-061-0/+1
| | | (cherry picked from commit 01dceba13e872e9ca24b8e00a2b75db3d0d6c1a3)
* [3.11] gh-109475: Fix support of explicit option value "--" in argparse ↵Serhiy Storchaka2024-02-051-0/+2
| | | | | | (GH-114814) (GH-115037) For example "--option=--". (cherry picked from commit 4aa4f0906df9fc9c6c6f6657f2c521468c6b1688)
* [3.11] gh-114887 Reject only sockets of type SOCK_STREAM in create_da… ↵Travis Howse2024-02-051-0/+2
| | | | | | | | | (#114979) Also improve exception message. (cherry picked from commit 94ec2b9c9ce898723c3fe61fbc64d6c8f4f68700) Co-authored-by: Donghee Na <donghee.na92@gmail.com>
* [3.11] gh-114388: Fix warnings when assign an unsigned integer member ↵Serhiy Storchaka2024-02-041-0/+5
| | | | | | | | | | (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-041-0/+7
| | | | | | | | | | | | | | 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-041-0/+2
| | | | | | | | (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-114965: Updated bundled pip to 24.0 (gh-114966) (gh-114973)Stéphane Bidoul2024-02-031-0/+1
| | | | Updated bundled pip to 24.0. (cherry picked from commit a4c298c1494b602a9650b597aad50b48e3fa1f41)
* [3.11] gh-114959: tarfile: do not ignore errors when extract a directory on ↵Miss Islington (bot)2024-02-031-0/+2
| | | | | | | | 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-103820: IDLE: Do not interpret buttons 4/5 as scrolling on non-X11 ↵Miss Islington (bot)2024-02-021-0/+2
| | | | | | | | | (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] gh-105089: Fix test_create_directory_with_write test failure in AIX ↵Miss Islington (bot)2024-02-011-0/+4
| | | | | | | (GH-105228) (GH-114861) (cherry picked from commit 4dbb198d279a06fed74ea4c38f93d658baf38170) Co-authored-by: Ayappan Perumal <ayappap2@in.ibm.com>
* [3.11] gh-109534: fix reference leak when SSL handshake fails (GH-114074) ↵Miss Islington (bot)2024-02-011-0/+3
| | | | | | | | (#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>
* gh-110190: Fix ctypes structs with array on Windows ARM64 (GH-114753)Miss Islington (bot)2024-01-311-0/+1
| | | | | (cherry picked from commit a06b606462740058b5d52fefdcdcd679d4f40260) Co-authored-by: Diego Russo <diego.russo@arm.com>
* [3.11] gh-101100: Fix Sphinx warnings in `whatsnew/3.11.rst` and related ↵Hugo van Kemenade2024-01-275-7/+7
| | | | (GH-114531) (#114650)
* [3.11] gh-77749: Fix inconsistent behavior of non-ASCII handling in ↵Miss Islington (bot)2024-01-261-0/+2
| | | | | | | | | | EmailPolicy.fold() (GH-6986) (GH-114607) It now always encodes non-ASCII characters in headers if utf8 is false. (cherry picked from commit 504334c7be5a56237df2598d338cd494a42fca4c) Co-authored-by: Rito Takeuchi <licht-t@outlook.jp> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-100107: Make py.exe launcher ignore app aliases that launch Microsoft ↵Miss Islington (bot)2024-01-251-0/+1
| | | | | | | Store (GH-114358) (cherry picked from commit d5c21c12c17b6e4db2378755af8e3699516da187) Co-authored-by: Vincent Cunningham <flagrama@users.noreply.github.com>
* [3.11] gh-114492: Initialize struct termios before calling tcgetattr() ↵Miss Islington (bot)2024-01-231-0/+2
| | | | | | | | (GH-114495) (GH-114503) On Alpine Linux it could leave some field non-initialized. (cherry picked from commit d22c066b802592932f9eb18434782299e80ca42e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-101438: Avoid reference cycle in ElementTree.iterparse. ↵Miss Islington (bot)2024-01-231-0/+4
| | | | | | | | | | (GH-114269) (GH-114500) The iterator returned by ElementTree.iterparse() may hold on to a file descriptor. The reference cycle prevented prompt clean-up of the file descriptor if the returned iterator was not exhausted. (cherry picked from commit ce01ab536f22a3cf095d621f3b3579c1e3567859) Co-authored-by: Sam Gross <colesbury@gmail.com>
* [3.11] gh-114257: Ignore the FileNotFound error in ctypes.util._is_elf() ↵Miss Islington (bot)2024-01-221-0/+2
| | | | | | | (GH-114394) (GH-114445) (cherry picked from commit 7fc51c3f6b7b13f88480557ff14bdb1c049f9a37) Co-authored-by: AN Long <aisk@users.noreply.github.com>
* [3.11] gh-75128: Ignore EADDRNOTAVAIL error in ↵Miss Islington (bot)2024-01-221-0/+2
| | | | | | | | asyncio.BaseEventLoop.create_server() (GH-114420) (GH-114442) (cherry picked from commit a53e56e7d88b4f2a2943c9f191024198009fcf9e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Antoine Pitrou <pitrou@free.fr>
* [3.11] gh-102512: Turn _DummyThread into _MainThread after os.fork() called ↵Serhiy Storchaka2024-01-221-0/+3
| | | | | | | | | | | | | | | | | | | from a foreign thread (GH-113261) (GH-114431) Always set a _MainThread as a main thread after os.fork() is called from a thread started not by the threading module. A new _MainThread was already set as a new main thread after fork if threading.current_thread() was not called for a foreign thread before fork. Now, if it was called before fork, the implicitly created _DummyThread will be turned into _MainThread after fork. It fixes, in particularly, an incompatibility of _DummyThread with the threading shutdown logic which relies on the main thread having tstate_lock. (cherry picked from commit 49785b06ded19c7c4afce186bac90fea707470ea) Co-authored-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
* [3.11] gh-113358: Fix rendering tracebacks with exceptions with a broken ↵Jérome Perrin2024-01-191-0/+1
| | | | __getattr__ (GH-113359) (#114118)
* [3.11] gh-110345: show Tcl/Tk patchlevel in `tkinter._test()` (GH-110350) ↵Miss Islington (bot)2024-01-181-0/+1
| | | | | | | (GH-114252) (cherry picked from commit b8f29b1293f55e12e86a2a039b49b6f9f73851b7) Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
* [3.11] gh-104522: Fix OSError raised when run a subprocess (GH-114195) ↵Serhiy Storchaka2024-01-181-0/+3
| | | | | | | | | | | (GH-114243) Only set filename to cwd if it was caused by failed chdir(cwd). _fork_exec() now returns "noexec:chdir" for failed chdir(cwd). (cherry picked from commit e2c097ebdee447ded1109f99a235e65aa3533bf8) Co-authored-by: Robert O'Shea <PurityLake@users.noreply.github.com>
* [3.11] gh-96905: In IDLE code, stop redefining built-ins 'dict' and 'object' ↵Miss Islington (bot)2024-01-181-0/+1
| | | | | | | | | (GH-114227) (#114229) Prefix 'dict' with 'o', 'g', or 'l' for 'object', 'global', or 'local'. Suffix 'object' with '_'. (cherry picked from commit 6f4b242a03e521a55f0b9e440703b424ed18ce2f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-38807: Fix race condition in Lib/trace.py (GH-110143) (GH-114207)Miss Islington (bot)2024-01-171-0/+3
| | | | | | | Instead of checking if a directory does not exist and thereafter creating it, directly call os.makedirs() with the exist_ok=True. (cherry picked from commit 78fcde039a33d8463e34356d5462fecee0f2831a) Co-authored-by: buermarc <44375277+buermarc@users.noreply.github.com>
* [3.11] gh-105102: Fix nested unions in structures when the system byteorder ↵Serhiy Storchaka2024-01-171-0/+2
| | | | | | | is the opposite (GH-105106) (GH-114205) (cherry picked from commit 0b541f64c472976b2fee1ec9919bc7b02a798242) Co-authored-by: Sheidan <37596668+Sh3idan@users.noreply.github.com>
* [3.11] gh-104282: Fix null pointer dereference in ↵Miss Islington (bot)2024-01-171-0/+3
| | | | | | | `lzma._decode_filter_properties` (GH-104283) (GH-114182) (cherry picked from commit 0154405350c272833bd51f68138223655e142a37) Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
* [3.11] gh-72284: Revise lists in IDLE doc (GH-114174) (#114176)Miss Islington (bot)2024-01-171-0/+2
| | | | | | | | | | | Tkinter is a fact, not necessarily a feature. Reorganize editor key bindings in a logical order and remove those that do not work, at least on Windows. Improve shell bindings list. (cherry picked from commit 4a32275389d94ba41f8881c32ad4b232effb1c6f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-113659: Skip hidden .pth files (GH-113660) (GH-114144)Miss Islington (bot)2024-01-161-0/+1
| | | | | | Skip .pth files with names starting with a dot or hidden file attribute. (cherry picked from commit 74208ed0c440244fb809d8acc97cb9ef51e888e3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-114096: Restore privileges in _winapi.CreateJunction after creating the ↵Steve Dower2024-01-161-0/+3
| | | | | junction (GH-114089) This avoids impact on later parts of the application which may be able to do things they otherwise shouldn't.
* [3.11] gh-114077: Fix OverflowError in socket.sendfile() when pass count ↵Miss Islington (bot)2024-01-161-0/+2
| | | | | | | >2GiB (GH-114079) (GH-114111) (cherry picked from commit d4dfad2aa9e76038302b0c5a29ebacc2723ed50d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-101100: Fix Sphinx warnings in `howto/urllib2.rst` and ↵Hugo van Kemenade2024-01-143-5/+5
| | | | | `library/http.client.rst` (GH-114060) (#114064) (cherry picked from commit c2808431b32fa7bc0d222d4549389f781f1a7333)
* [3.11] gh-101225: Increase the socket backlog when creating a ↵Miss Islington (bot)2024-01-141-0/+4
| | | | | | | | | | | | | | multiprocessing.connection.Listener (GH-113567) (#114019) gh-101225: Increase the socket backlog when creating a multiprocessing.connection.Listener (GH-113567) Increase the backlog for multiprocessing.connection.Listener` objects created by `multiprocessing.manager` and `multiprocessing.resource_sharer` to significantly reduce the risk of getting a connection refused error when creating a `multiprocessing.connection.Connection` to them. (cherry picked from commit c7d59bd8cfa053e77ae3446c82afff1fd38a4886) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.11] gh-95649: Document that asyncio contains uvloop code (GH-107536) ↵Alois Klink2024-01-142-0/+4
| | | | | | | | | | | | (#114045) Some of the asyncio SSL changes in GH-31275 [1] were taken from v0.16.0 of the uvloop project [2]. In order to comply with the MIT license, we need to just need to document the copyright information. [1]: https://github.com/python/cpython/pull/31275 [2]: https://github.com/MagicStack/uvloop/tree/v0.16.0 (cherry picked from commit dce30c9cbc212e5455e100f35ac6afeb30dfd23e)
* [3.11] gh-114014: Update `fractions.Fraction()`'s rational parsing regex ↵Mark Dickinson2024-01-131-0/+1
| | | | | | | | | | | (GH-114015) (#114025) Fix a bug in the regex used for parsing a string input to the `fractions.Fraction` constructor. That bug led to an inconsistent exception message being given for some inputs. --------- Co-authored-by: Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.11] gh-101100: Fix Sphinx Lint warnings in `Misc/` (GH-113946) (#114001)Hugo van Kemenade2024-01-1243-336/+336
|
* [3.11] gh-113903: Fix an IDLE configdialog test (GH-113973) (#113975)Miss Islington (bot)2024-01-121-0/+1
| | | | | | | | | | | | | | test_configdialog.HighPageTest.test_highlight_target_text_mouse fails if a line of the Highlight tab text sample is not visible. If so, bbox() in click_char() returns None and the unpacking iteration fails. This occurred on a Devuan Linux system. Fix by moving the 'see character' call inside click_char, just before the bbox call. Also, reduce the click_char calls to just one per tag name and replace the other nested function with a dict comprehension. (cherry picked from commit c4992f4106aa509375f5beca8dc044a7f6c36a72) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-81489: Use Unicode APIs for mmap tagname on Windows (GH-14133)Steve Dower2024-01-111-0/+2
| | | | Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Erlend E. Aasland <erlend@python.org>
* gh-87868: Sort and remove duplicates in getenvironment() (GH-102731)Miss Islington (bot)2024-01-111-0/+2
| | | | | | | | (cherry picked from commit c31be58da8577ef140e83d4e46502c7bb1eb9abf) Co-authored-by: AN Long <aisk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* [3.11] gh-109858: Protect zipfile from "quoted-overlap" zipbomb (GH-110016) ↵Miss Islington (bot)2024-01-111-0/+3
| | | | | | | | | (GH-113913) Raise BadZipFile when try to read an entry that overlaps with other entry or central directory. (cherry picked from commit 66363b9a7b9fe7c99eba3a185b74c5fdbf842eba) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-113730) ↵Miss Islington (bot)2024-01-101-0/+2
| | | | | | | | (GH-113908) It occurred when try to re-encode an unknown-8bit part combined with non-unknown-8bit part. (cherry picked from commit e9d5b6ea2d68564f176fdf70c2d7028e060c62b5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-113664: Improve style of Big O notation (GH-113695) (GH-113910)Serhiy Storchaka2024-01-101-1/+1
| | | | Use cursive to make it looking like mathematic formulas. (cherry picked from commit a8629816c6c0e6770248a60529fd7c9ba08aad55)