Miss Islington (bot)
7f2a19eb75
[3.11] gh-115254: Fix test_property with -00 mode (GH-115255) ( #115262 )
...
(cherry picked from commit b70a68fbd6 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2024-02-11 10:58:51 +03:00
Miss Islington (bot)
f4146a220e
[3.11] gh-114670: Fix _testbuffer module initialization (GH-114672) ( #115271 )
...
(cherry picked from commit 3a5b38e3b4 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2024-02-11 10:53:17 +03:00
Miss Islington (bot)
562fe5f5d4
[3.11] gh-115059: Remove debugging code in test_io (GH-115240) (GH-115245)
...
(cherry picked from commit 597fad07f7 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-10 16:04:32 +02:00
Miss Islington (bot)
089cae5158
[3.11] gh-114552: Update __dir__ method docs: it allows returning an iterable (GH-114662) ( #115235 )
...
gh-114552: Update `__dir__` method docs: it allows returning an iterable (GH-114662)
(cherry picked from commit e19103a346 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2024-02-10 08:54:43 +00:00
Serhiy Storchaka
115f72b70b
[3.11] gh-115198: Fix test_check_metadata_deprecation in test_distutils ( #115200 )
...
* [3.11] gh-115198: Fix test_check_metadata_deprecation in test_distutils
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2024-02-09 18:23:29 -05:00
Miss Islington (bot)
7542210a95
[3.11] gh-115165: Fix typing.Annotated for immutable types (GH-115213) ( #115228 )
...
gh-115165: Fix `typing.Annotated` for immutable types (GH-115213)
The return value from an annotated callable can raise any exception from
__setattr__ for the `__orig_class__` property.
(cherry picked from commit 564385612c )
Co-authored-by: dave-shawley <daveshawley@gmail.com>
2024-02-09 22:43:24 +00:00
Nikita Sobolev
ca3eca1584
[3.11] gh-101100: Fix sphinx warnings in library/enum.rst (GH-114696) (GH-115209)
2024-02-09 12:09:59 -08:00
Miss Islington (bot)
ff72af8991
[3.11] Docs: correctly link to code objects (GH-115214) ( #115217 )
...
(cherry picked from commit 769d444826 )
Co-authored-by: Erlend E. Aasland <erlend@python.org>
2024-02-09 14:18:01 +00:00
Miss Islington (bot)
20c6535693
[3.11] gh-115059: Flush the underlying write buffer in io.BufferedRandom.read1() (GH-115163) (GH-115206)
...
(cherry picked from commit 846fd721d5 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-09 11:01:47 +00:00
Miss Islington (bot)
5fc2f5571d
gh-115167: Exclude vcruntime140_threads.dll from Windows build output (GH-115176)
...
(cherry picked from commit 5914a211ef )
Co-authored-by: adang1345 <adang1345@gmail.com>
2024-02-08 22:19:11 +00:00
Miss Islington (bot)
21e3b31424
[3.11] gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 3.11 (GH-115107) (GH-115118)
...
change versionchanged to versionadded
(cherry picked from commit 3f71c416c0 )
Co-authored-by: Finite State Machine <38001514+finite-state-machine@users.noreply.github.com>
2024-02-08 14:02:45 -08:00
Miss Islington (bot)
214ac16696
[3.11] gh-115136: Fix possible NULL deref in getpath_joinpath() (GH-115137) (ПР-115158)
...
(cherry picked from commit 9e90313320 )
Signed-off-by: Artem Chernyshev <artem.chernyshev@red-soft.ru>
Co-authored-by: Artem Chernyshev <62871052+dTenebrae@users.noreply.github.com>
2024-02-08 11:18:16 +02:00
Miss Islington (bot)
5e686dffa4
[3.11] gh-115146: Fix typo in pickletools.py documentation (GH-115148) (GH-115156)
...
(cherry picked from commit 4a7f63869a )
Co-authored-by: Justin Applegate <70449145+Legoclones@users.noreply.github.com>
2024-02-08 08:32:46 +00:00
Skip Montanaro
e1e4cf7611
[3.11] gh-101100: Fix Py_DEBUG dangling Sphinx references ( #115003 ) ( #115141 )
...
gh-101100: Fix Py_DEBUG dangling Sphinx references (#115003 )
(cherry picked from commit d0322fdf2c )
2024-02-07 17:16:51 +00:00
Miss Islington (bot)
3aa4418c5a
[3.11] gh-103224: Resolve paths properly in test_sysconfig (GH-103292) (GH-115101)
...
To pass tests when executed through a Python symlink.
(cherry picked from commit 71239d50b5 )
Co-authored-by: Artem Mukhin <artem.m.mukhin@gmail.com>
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
2024-02-07 11:36:27 +02:00
Pablo Galindo
6bc531610f
Merge remote-tracking branch 'upstream/3.11' into 3.11
2024-02-06 23:38:43 +00:00
Pablo Galindo
c43bd4b934
Post 3.11.8
2024-02-06 23:38:18 +00:00
Erlend E. Aasland
3a23aa77a6
[3.11] gh-115009: Update Windows installer to use SQLite 3.45.1 ( #115065 ) ( #115111 )
...
(cherry picked from commit 11ac6f5354 )
2024-02-06 23:06:34 +00:00
Pablo Galindo
db85d51d3e
Python 3.11.8
2024-02-06 21:21:21 +00:00
Miss Islington (bot)
a04dc43148
[3.11] GH-gh-75705: Set unixfrom envelope in mailbox._mboxMMDF (GH-107117) (GH-115099)
...
(cherry picked from commit 76108b8b05 )
Co-authored-by: Matthieu Caneill <matthieucan@users.noreply.github.com>
2024-02-06 19:16:54 +00:00
Miss Islington (bot)
350d1d09c5
[3.11] gh-46968: Fix invalid reference to Sound eXchange (SoX) 12.17.7 license (GH-115094) (GH-115095)
...
(cherry picked from commit b39119916c )
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2024-02-06 19:22:48 +01:00
Miss Islington (bot)
b5a679304b
[3.11] gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (GH-115080)
...
gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877)
(cherry picked from commit 618d7256e7 )
Co-authored-by: Zachary Ware <zach@python.org>
2024-02-06 15:54:05 +01:00
Peter Lazorchak
a11312456d
[3.11] gh-89811: Check for valid tp_version_tag in specializer (GH-115045)
...
* 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
2024-02-06 21:58:30 +08:00
Erlend E. Aasland
2e99ba9e90
[3.11] gh-115009: Update macOS installer to use SQLite 3.45.1 ( #115066 ) ( #115072 )
...
(cherry picked from commit 13eb5215c9 )
Co-authored-by: Ned Deily <nad@python.org>
2024-02-06 10:25:54 +00:00
Erlend E. Aasland
ead9e784fb
[3.11] gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without params ( #115016 ) ( #115069 )
...
(cherry picked from commit 09096a1647 )
2024-02-06 11:21:00 +01:00
Ned Deily
319e69579e
[3.11] gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.13. (GH-115057)
...
Also update multissltests to use 1.1.1w, 3.0.13, 3.1.5, and 3.2.1.
2024-02-05 23:02:10 -05:00
Miss Islington (bot)
753d0d559c
[3.11] gh-109991: Update macOS installer to use OpenSSL 3.0.13. (GH-115054)
...
(cherry picked from commit 638e811a3c )
Co-authored-by: Ned Deily <nad@python.org>
2024-02-06 02:16:32 +00:00
Zachary Ware
30d999fa50
[3.11] gh-109991: Update Windows build to use OpenSSL 3.0.13 ( #115048 )
...
(cherry picked from commit 01dceba13e )
2024-02-06 00:19:44 +00:00
Serhiy Storchaka
e1976399cd
[3.11] gh-109475: Fix support of explicit option value "--" in argparse (GH-114814) (GH-115037)
...
For example "--option=--".
(cherry picked from commit 4aa4f0906d )
2024-02-05 21:04:11 +00:00
Miss Islington (bot)
98b2f4624a
[3.11] gh-114967: Fix "Built-in Exceptions" documentation ambiguous wording (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 750489cc77 )
Co-authored-by: HarryLHW <123lhw321@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2024-02-05 20:29:29 +00:00
Serhiy Storchaka
89878141ed
[3.11] gh-114392: Improve test_capi.test_structmembers (GH-114393) (GH-115030)
...
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 15f6f048a6 )
2024-02-05 13:24:23 +02:00
Miss Islington (bot)
b3f0108eac
[3.11] GH-69695: Update `PyImport_ImportModule` description (GH-103836) (GH-114924)
...
GH-69695: Update ``PyImport_ImportModule`` description (GH-103836)
(cherry picked from commit 9872855a31 )
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>
2024-02-05 10:53:50 +01:00
Miss Islington (bot)
7f1c5578bb
[3.11] Remove bogus syntax error marker in csv doc (GH-115017) ( #115019 )
...
(cherry picked from commit 39ec7fbba8 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2024-02-05 04:18:02 +00:00
Travis Howse
5ce076fd92
[3.11] gh-114887 Reject only sockets of type SOCK_STREAM in create_da… ( #114979 )
...
Also improve exception message.
(cherry picked from commit 94ec2b9c9c )
Co-authored-by: Donghee Na <donghee.na92@gmail.com>
2024-02-04 20:01:37 -08:00
Alex Waygood
510eb4e6a8
[3.11] Bump ruff to 0.2.0 ( #114932 ) ( #115008 )
2024-02-04 20:00:05 +00:00
Miss Islington (bot)
fef6c9bbde
[3.11] gh-113803: Fix inaccurate documentation for shutil.move when dst is 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 da8f9fb2ea )
Co-authored-by: Dai Wentao <dwt136@gmail.com>
2024-02-04 19:02:10 +00:00
Serhiy Storchaka
0244e96d10
[3.11] gh-114388: Fix warnings when assign an unsigned integer member (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 3ddc515255 )
2024-02-04 17:54:26 +00:00
Miss Islington (bot)
f18341fa4e
[3.11] gh-113951: Tkinter: "tag_unbind(tag, sequence, funcid)" now only 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 7e42fddf60 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-04 16:47:03 +00:00
Miss Islington (bot)
f8cba751e2
[3.11] gh-113280: Always close socket if SSLSocket creation failed (GH-114659) (GH-114996)
...
(cherry picked from commit 0ea366240b )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
2024-02-04 16:16:57 +00:00
Miss Islington (bot)
55e5ae70b3
[3.11] gh-101100: Fix dangling references in pickle.rst (GH-114972) ( #114992 )
...
gh-101100: Fix dangling references in pickle.rst (GH-114972)
(cherry picked from commit ec69e1d0dd )
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-04 14:32:42 +00:00
Hugo van Kemenade
2443ebd042
[3.11] gh-101100: Fix Sphinx warnings from PEP 3108 stdlib re-organisation (GH-114327) ( #114989 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-04 04:53:52 -07:00
Stéphane Bidoul
364892f6bb
[3.11] gh-114965: Updated bundled pip to 24.0 (gh-114966) (gh-114973)
...
Updated bundled pip to 24.0.
(cherry picked from commit a4c298c149 )
2024-02-03 19:38:23 +00:00
Miss Islington (bot)
34ab494c74
[3.11] gh-101100: Fix Sphinx reference warnings in the glossary (GH-114729) ( #114970 )
...
gh-101100: Fix Sphinx reference warnings in the glossary (GH-114729)
(cherry picked from commit ab76d37948 )
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-03 18:51:56 +00:00
Miss Islington (bot)
e846c88b37
[3.11] gh-114959: tarfile: do not ignore errors when extract a directory on top of a file (GH-114960) (GH-114964)
...
Also, add tests common to tarfile and zipfile.
(cherry picked from commit 96bce033c4 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-03 16:41:31 +00:00
Miss Islington (bot)
e9639e428a
[3.11] gh-114955: Add clear to MutableSequence's mixin methods in document (gh-114956) ( #114962 )
...
gh-114955: Add clear to MutableSequence's mixin methods in document (gh-114956)
(cherry picked from commit b4240fd68e )
Co-authored-by: AN Long <aisk@users.noreply.github.com>
2024-02-03 15:48:29 +00:00
Miss Islington (bot)
50b912715e
[3.11] Update LOGGING example taken from Django docs. (GH-114903) ( #114952 )
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-02-03 08:23:21 -07:00
Miss Islington (bot)
1956f7b229
[3.11] Normalize heading underline in multiprocessing.rst (GH-114923) ( #114947 )
...
This gets rid of the mildly confusing `>>>>>>>' underlines which look vaguely like `diff` punctuation.
(cherry picked from commit 00d7109075 )
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
2024-02-03 02:02:15 +00:00
Miss Islington (bot)
b833b00482
[3.11] gh-114913: Add newline to subprocess doc (GH-114941) ( #114943 )
...
*creationflags* is a separate topic from *startupinfo*.
Start sentence with 'If given', like previous sentence.
(cherry picked from commit 1183f1e6bf )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2024-02-02 23:22:03 +00:00
Miss Islington (bot)
4e1360ae50
[3.11] Correct timedelta description (GH-101417) (GH-114939)
...
It only represents the difference between two datetime or
date objects, not between two time objects.
(cherry picked from commit 73d20cafb5 )
Co-authored-by: John Belmonte <john@neggie.net>
2024-02-02 21:49:04 +00:00
Miss Islington (bot)
9bc79da844
[3.11] Fix indentation of "versionchanged" in datetime.rst (GH-114933) (GH-114936)
...
(cherry picked from commit b27812d632 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-02 23:18:25 +02:00