Miss Islington (bot)
dc01c84ed0
[3.12] gh-115136: Fix possible NULL deref in getpath_joinpath() (GH-115137) (GH-115157)
...
(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:38 +02:00
Miss Islington (bot)
2016fbd682
[3.12] gh-115146: Fix typo in pickletools.py documentation (GH-115148) (GH-115155)
...
(cherry picked from commit 4a7f63869a
)
Co-authored-by: Justin Applegate <70449145+Legoclones@users.noreply.github.com>
2024-02-08 08:30:31 +00:00
Miss Islington (bot)
3a67d3272c
[3.12] gh-114828: parenthesize non-atomic macro definitions in pycore_symtable.h (GH-115143) ( #115149 )
...
gh-114828: parenthesize non-atomic macro definitions in pycore_symtable.h (GH-115143)
(cherry picked from commit 8f0998e844
)
Co-authored-by: Carl Meyer <carl@oddbird.net>
2024-02-07 20:39:22 +00:00
Miss Islington (bot)
967f27d0a1
[3.12] gh-114828: Fix __class__ in class-scope inlined comprehensions (GH-115139) ( #115140 )
...
gh-114828: Fix __class__ in class-scope inlined comprehensions (GH-115139)
(cherry picked from commit fedbf77191
)
Co-authored-by: Carl Meyer <carl@oddbird.net>
2024-02-07 17:12:54 +00:00
Miss Islington (bot)
a69e68db60
[3.12] gh-101100: Fix Py_DEBUG dangling Sphinx references (GH-115003) ( #115135 )
...
gh-101100: Fix Py_DEBUG dangling Sphinx references (GH-115003)
(cherry picked from commit d0322fdf2c
)
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
2024-02-07 10:55:21 +00:00
Miss Islington (bot)
060c3edc4b
[3.12] gh-103224: Resolve paths properly in test_sysconfig (GH-103292) (GH-115100)
...
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:10 +02:00
Thomas Wouters
d975e791f2
Merge branch '3.12' of https://github.com/python/cpython into 3.12
2024-02-07 00:44:54 +01:00
Thomas Wouters
55cd0bff73
Post 3.12.2
2024-02-07 00:44:32 +01:00
Erlend E. Aasland
bf5cc327d0
[3.12] gh-115009: Update Windows installer to use SQLite 3.45.1 ( #115065 ) ( #115110 )
...
(cherry picked from commit 11ac6f5354
)
2024-02-06 23:02:58 +00:00
Thomas Wouters
6abddd9f6a
Python 3.12.2
2024-02-06 21:19:44 +01:00
Miss Islington (bot)
831b95d9b9
[3.12] GH-gh-75705: Set unixfrom envelope in mailbox._mboxMMDF (GH-107117) (GH-115098)
...
(cherry picked from commit 76108b8b05
)
Co-authored-by: Matthieu Caneill <matthieucan@users.noreply.github.com>
2024-02-06 19:05:05 +00:00
Miss Islington (bot)
5fb2204ad4
[3.12] gh-112302: Change 'licenseConcluded' field to 'NOASSERTION' (GH-115038) ( #115088 )
...
* gh-112302: Change 'licenseConcluded' field to 'NOASSERTION' (GH-115038)
(cherry picked from commit 4bf41879d0
)
Co-authored-by: Seth Michael Larson <seth@python.org>
* Update pip SBOM package to version in source
---------
Co-authored-by: Seth Michael Larson <seth@python.org>
2024-02-06 19:34:03 +01:00
Łukasz Langa
b39119916c
[3.12] gh-46968: Fix invalid reference to Sound eXchange (SoX) 12.17.7 license ( #115094 )
...
Fix invalid reference to Sound eXchange (SoX) 12.17.7 license
2024-02-06 18:59:23 +01:00
Seth Michael Larson
5e64828064
[3.12] gh-112302: Backport SBOM generation tooling ( #114730 )
...
[3.12] Backport SBOM generation tooling
2024-02-06 16:02:28 +01:00
Miss Islington (bot)
f82f695028
[3.12] gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (GH-115076)
...
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:53:30 +01:00
Miss Islington (bot)
7974f71478
[3.12] gh-106233: Fix stacklevel in zoneinfo.InvalidTZPathWarning (GH-106234) (GH-115081)
...
(cherry picked from commit d7334e2c20
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2024-02-06 13:26:39 +00:00
Erlend E. Aasland
9b66caf098
[3.12] gh-115009: Update macOS installer to use SQLite 3.45.1 ( #115066 ) ( #115071 )
...
(cherry picked from commit 13eb5215c9
)
Co-authored-by: Ned Deily <nad@python.org>
2024-02-06 10:21:53 +00:00
Erlend E. Aasland
6f5e360acd
[3.12] gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without params ( #115016 ) ( #115067 )
...
(cherry picked from commit 09096a1647
)
2024-02-06 11:20:16 +01:00
Miss Islington (bot)
5ddb274040
[3.12] gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.13. (GH-115055)
...
Also update multissltests to use 1.1.1w, 3.0.13, 3.1.5, and 3.2.1.
(cherry picked from commit 299e16ca0f
)
Co-authored-by: Ned Deily <nad@python.org>
2024-02-06 02:29:17 +00:00
Miss Islington (bot)
51f8c0459d
[3.12] gh-109991: Update macOS installer to use OpenSSL 3.0.13. (GH-115053)
...
(cherry picked from commit 638e811a3c
)
Co-authored-by: Ned Deily <nad@python.org>
2024-02-06 02:16:32 +00:00
Zachary Ware
b967eabedf
[3.12] gh-109991: Update Windows build to use OpenSSL 3.0.13 ( #115047 )
...
(cherry picked from commit 01dceba13e
)
2024-02-06 00:11:15 +00:00
Miss Islington (bot)
94ad68264c
[3.12] gh-109475: Fix support of explicit option value "--" in argparse (GH-114814) (GH-115036)
...
For example "--option=--".
(cherry picked from commit 4aa4f0906d
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-05 21:02:00 +00:00
Miss Islington (bot)
21f06a22c0
[3.12] gh-114967: Fix "Built-in Exceptions" documentation ambiguous wording (GH-114968) ( #115033 )
...
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: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: HarryLHW <123lhw321@gmail.com>
2024-02-05 20:30:38 +00:00
Miss Islington (bot)
d334122d22
[3.12] GH-69695: Update `PyImport_ImportModule
` description (GH-103836) GH-114925)
...
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:57 +01:00
Miss Islington (bot)
ae7fa9fa60
[3.12] Remove bogus syntax error marker in csv doc (GH-115017) ( #115018 )
...
(cherry picked from commit 39ec7fbba8
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2024-02-05 04:17:58 +00:00
Travis Howse
49fbb068d5
[3.12] gh-114887 Reject only sockets of type SOCK_STREAM in create_da… ( #114980 )
...
Also improve exception message.
(cherry picked from commit 94ec2b9c9c
)
Co-authored-by: Donghee Na <donghee.na92@gmail.com>
2024-02-04 15:42:06 -08:00
Tian Gao
27cacdd5b4
[3.12] gh-114480: Add docs for f_trace_opcodes behavior on 3.12 ( #114540 )
2024-02-04 22:27:17 +00:00
Miss Islington (bot)
89fd79582c
[3.12] gh-114392: Improve test_capi.test_structmembers (GH-114393) (GH-115010)
...
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
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-04 22:41:25 +02:00
Miss Islington (bot)
5d2e30958a
[3.12] gh-113803: Fix inaccurate documentation for shutil.move when dst is an existing directory (GH-113837) ( #115006 )
...
* 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:00:03 +00:00
Serhiy Storchaka
b9937a6f22
[3.12] gh-114388: Fix warnings when assign an unsigned integer member (GH-114391) (GH-115001)
...
* 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:21:05 +00:00
Miss Islington (bot)
4548ae7e65
[3.12] gh-113951: Tkinter: "tag_unbind(tag, sequence, funcid)" now only unbinds "funcid" (GH-113955) (GH-114997)
...
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:43:56 +00:00
Miss Islington (bot)
222ccbc7d6
[3.12] gh-113280: Always close socket if SSLSocket creation failed (GH-114659) (GH-114995)
...
(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:12:19 +00:00
Skip Montanaro
709a293467
[3.12] gh-101100: Fix dangling references in pickle.rst ( #114972 ) ( #114999 )
...
gh-101100: Fix dangling references in pickle.rst (#114972 )
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit ec69e1d0dd
)
2024-02-04 16:03:21 +00:00
Miss Islington (bot)
0a737639dc
[3.12] gh-113267: Revert "gh-106584: Fix exit code for unittest in Python 3.12 (GH-106588)" (GH-114470) (GH-114994)
...
This reverts commit 8fc071345b
.
(cherry picked from commit ecabff98c4
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-04 16:00:56 +00:00
Hugo van Kemenade
d8a787258d
[3.12] gh-101100: Fix Sphinx warnings from PEP 3108 stdlib re-organisation (GH-114327) ( #114988 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Fix Sphinx warnings from PEP 3108 stdlib re-organisation (#114327 )
2024-02-04 04:53:45 -07:00
Miss Islington (bot)
cf2ecbc514
[3.12] gh-101100: Fix sphinx warnings in c-api/file.rst
(GH-114546) ( #114584 )
...
* gh-101100: Fix sphinx warnings in `c-api/file.rst` (GH-114546)
(cherry picked from commit 01d970c1b8
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-04 10:57:19 +02:00
Stéphane Bidoul
f7252f6831
[3.12] gh-114965: Updated bundled pip to 24.0 (gh-114966) (gh-114971)
...
gh-114965: Updated bundled pip to 24.0 (gh-114966)
Updated bundled pip to 24.0
(cherry picked from commit a4c298c149
)
2024-02-03 19:37:13 +00:00
Miss Islington (bot)
df9f3ef5a2
[3.12] gh-101100: Fix Sphinx reference warnings in the glossary (GH-114729) ( #114969 )
...
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:43 +00:00
Miss Islington (bot)
8ed20bc8bb
[3.12] gh-114959: tarfile: do not ignore errors when extract a directory on top of a file (GH-114960) (GH-114963)
...
Also, add tests common to tarfile and zipfile.
(cherry picked from commit 96bce033c4
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-03 18:39:01 +02:00
Miss Islington (bot)
c86a9e662f
[3.12] gh-114955: Add clear to MutableSequence's mixin methods in document (gh-114956) (gh-114961)
2024-02-03 15:41:04 +00:00
Miss Islington (bot)
98a8590e73
[3.12] Update LOGGING example taken from Django docs. (GH-114903) ( #114951 )
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-02-03 08:23:33 -07:00
Miss Islington (bot)
718dbd4cd3
[3.12] Normalize heading underline in multiprocessing.rst (GH-114923) ( #114946 )
...
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:26 +00:00
Miss Islington (bot)
9c6c40ec90
[3.12] gh-114913: Add newline to subprocess doc (GH-114941) ( #114942 )
...
*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:22 +00:00
Miss Islington (bot)
034bb70aaa
[3.12] Bump ruff to 0.2.0 (GH-114932) ( #114935 )
...
Bump ruff to 0.2.0 (GH-114932)
(cherry picked from commit 920b89f627
)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-02 22:03:25 +00:00
Miss Islington (bot)
1eb873ef45
[3.12] Correct timedelta description (GH-101417) (GH-114938)
...
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:48:44 +00:00
Miss Islington (bot)
dee56434b5
[3.12] Fix indentation of "versionchanged" in datetime.rst (GH-114933) (GH-114937)
...
(cherry picked from commit b27812d632
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-02 23:18:07 +02:00
Miss Islington (bot)
e9d53248c6
[3.12] gh-114728: Fix documentation for comparison of objects in datetime module (GH-114749) (GH-114928)
...
(cherry picked from commit c12240ed28
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-02-02 19:01:34 +00:00
Miss Islington (bot)
e2f7aab9a9
[3.12] gh-103360: Add link in stdtypes.rst to escape sequences in lexical_analysis.rst (GH-103638) (GH-114907)
...
(cherry picked from commit d29f57f603
)
Co-authored-by: Justin Williams <97240811+juswil@users.noreply.github.com>
2024-02-02 13:38:58 +00:00
Miss Islington (bot)
564d8484d1
[3.12] gh-103820: IDLE: Do not interpret buttons 4/5 as scrolling on non-X11 (GH-103821) (GH-114901)
...
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 d25d4ee60c
)
Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
2024-02-02 15:12:31 +02:00
Miss Islington (bot)
8cb7e5cc7c
[3.12] Move "format" param doc of shutil.make_archive() on its own paragraph (GH-103829) (GH-114897)
...
(cherry picked from commit 53339a0ef7
)
Co-authored-by: Michal Kaptur <kaptur.michal@gmail.com>
2024-02-02 12:28:32 +02:00