Miss Islington (bot)
be1fe1149f
[3.12] gh-117503: Fix test for posixpath.expanduser() when pw_dir ends with / (GH-118056) (GH-118058)
...
(cherry picked from commit ccdcd1d95a
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-18 17:17:05 +00:00
Miss Islington (bot)
dd8b4d4d37
[3.12] gh-116932: Remove redundant NEWS entry (GH-118040) ( #118041 )
...
Co-authored-by: lyc8503 <me@lyc8503.site>
2024-04-18 12:24:43 +00:00
Miss Islington (bot)
aa2fc81ea3
[3.12] Doc: Render version/language selector on Read the Docs (GH-116966) ( #118038 )
...
Co-authored-by: Manuel Kaufmann <humitos@gmail.com>
2024-04-18 11:40:05 +00:00
Miss Islington (bot)
5af8fcaf05
[3.12] gh-116932: Add note on how to report python documentation theme bugs (GH-117989) (GH-118031)
...
gh-116932: Add note on how to report python documentation theme bugs (GH-117989)
(cherry picked from commit 468b9aeb92
)
Co-authored-by: lyc8503 <me@lyc8503.site>
2024-04-18 08:52:09 +00:00
neonene
9f4ae13d2a
[3.12] gh-117613: Argument Clinic: ensure that defining class params are positional-only ( #117939 )
2024-04-17 21:11:17 +00:00
Mariusz Felisiak
a72c4a93ef
[3.12] gh-115009: Update Windows installer to use SQLite 3.45.3 (GH-117445) ( #118008 )
...
(cherry picked from commit de0dc68b82
)
2024-04-17 19:23:58 +00:00
Miss Islington (bot)
859fdee0b6
[3.12] gh-114539: Clarify implicit launching of shells by subprocess (GH-117996) ( #118002 )
...
gh-114539: Clarify implicit launching of shells by subprocess (GH-117996)
(cherry picked from commit a4b44d39cd
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2024-04-17 19:44:38 +01:00
Miss Islington (bot)
fda8cd1fd3
[3.12] gh-80361: Fix TypeError in email.Message.get_payload() (GH-117994) (GH-117998)
...
It was raised when the charset is rfc2231 encoded, e.g.:
Content-Type: text/plain; charset*=ansi-x3.4-1968''utf-8
(cherry picked from commit deaecb88fa
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-17 16:59:35 +00:00
Miss Islington (bot)
e95a535ea2
[3.12] gh-117977: Amend version changed annotation for os.chmod, os.chown, and os.listdir (GH-117978) ( #117992 )
...
(cherry picked from commit fccedbda93
)
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
2024-04-17 15:05:35 +00:00
Miss Islington (bot)
2b68c81283
[3.12] gh-117975: Ensure flush level is checked when configuring a logging MemoryHandler. (GH-117976) (GH-117986)
...
(cherry picked from commit 6d0bb43232
)
2024-04-17 14:48:09 +01:00
Miss Islington (bot)
c270caf966
[3.12] gh-115009: Update macOS installer to use SQLite 3.45.3 (GH-117443) ( #117981 )
...
(cherry picked from commit b9b3c455f0
)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-04-17 12:27:03 +00:00
Miss Islington (bot)
7e0141e07e
[3.12] gh-71966: Move the module docstring from _pydecimal to decimal (GH-117919) (GH-117962)
...
Now it is set even if the C implementation is used.
Also add a one-line synopsis.
(cherry picked from commit c69968ff69
)
2024-04-17 15:13:21 +03:00
Miss Islington (bot)
c34c962d07
[3.12] gh-117313: Fix re-folding email messages containing non-standard line separators (GH-117369) (GH-117971)
...
Only treat '\n', '\r' and '\r\n' as line separators in re-folding the email
messages. Preserve control characters '\v', '\f', '\x1c', '\x1d' and '\x1e'
and Unicode line separators '\x85', '\u2028' and '\u2029' as is.
(cherry picked from commit aec1dac4ef
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-17 10:48:56 +00:00
Serhiy Storchaka
96b29b32c1
[3.12] gh-117503: Fix support of non-ASCII user names in posixpath.expanduser() (GH-117504) (GH-117970)
...
They are now supported in bytes paths as well as in string paths.
(cherry picked from commit 51132da0c4
)
2024-04-17 10:43:37 +00:00
Miss Islington (bot)
ac48fdeb0d
[3.12] gh-73231: Update documentation for PyErr_SetFromWindowsErr() (GH-117226) (GH-117973)
...
(cherry picked from commit 438b7c3071
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-17 10:28:55 +00:00
Miss Islington (bot)
0a40580b85
[3.12] gh-117879: Fix test_httpservers for the build with profiling (GH-117932) (GH-117969)
...
(cherry picked from commit 8429b4565d
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-17 10:15:22 +00:00
Miss Islington (bot)
95982c983f
[3.12] gh-86650: Fix IndexError when parse emails with invalid Message-ID (GH-117934) (GH-117965)
...
In particularly, one-off addresses generated by Microsoft Outlook:
https://learn.microsoft.com/en-us/office/client-developer/outlook/mapi/one-off-addresses
(cherry picked from commit f74e51229c
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: fsc-eriker <72394365+fsc-eriker@users.noreply.github.com>
2024-04-17 08:03:12 +00:00
Miss Islington (bot)
03108045d2
[3.12] gh-75171: Fix parsing invalid email address headers starting or ending with a dot (GH-15600) (GH-117964)
...
(cherry picked from commit 8cc9adbfdd
)
Co-authored-by: tsufeki <tsufeki@ymail.com>
Co-authored-by: Tim Bell <timothybell@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-17 07:55:11 +00:00
Miss Islington (bot)
5f4c7cf3f4
[3.12] gh-117945: Fix os.path.ismount()
documentation (GH-117947) ( #117952 )
...
gh-117945: Fix `os.path.ismount()` documentation (GH-117947)
(cherry picked from commit a23fa3368e
)
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
2024-04-16 23:02:13 +00:00
Miss Islington (bot)
d9e2126013
gh-112844: Fix xz CPE identifier (GH-117656)
...
(cherry picked from commit d70ee13e57
)
Co-authored-by: Seth Michael Larson <seth@python.org>
2024-04-16 22:20:47 +00:00
Miss Islington (bot)
67dc68141a
[3.12] Docs: Add classes to C API return value annotations (GH-117926) ( #117937 )
...
Docs: Add classes to C API return value annotations (GH-117926)
(cherry picked from commit 3284b84c43
)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2024-04-16 19:29:52 +03:00
Miss Islington (bot)
aa26dc3c4a
[3.12] gh-117691: Add an appropriate stacklevel for PEP-706 tarfile deprecation warnings (GH-117872) (GH-117930)
...
gh-117691: Add an appropriate stacklevel for PEP-706 tarfile deprecation warnings (GH-117872)
(cherry picked from commit cff0a2db00
)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-04-16 11:54:01 +00:00
Inada Naoki
2a58923687
gh-77102: site: try utf-8 and locale encoding when reading .pth file (GH-117802)
...
(cherry picked from commit 6dc661bc9f
)
2024-04-16 18:51:06 +09:00
Miss Islington (bot)
44eab29cbd
[3.12] gh-117797: Improve test_descr.test_not_implemented
(GH-117798) ( #117921 )
...
gh-117797: Improve `test_descr.test_not_implemented` (GH-117798)
(cherry picked from commit 1a1e013a4a
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2024-04-16 12:50:10 +03:00
Miss Islington (bot)
556fb3675c
[3.12] gh-117804: Document how to suppress PGO unprofiled source warnings (GH-117859) ( #117912 )
...
(cherry picked from commit 757891ee8a
)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
2024-04-15 21:24:35 +00:00
Hugo van Kemenade
eb0bfb5910
[3.12] Docs: add link roles with Sphinx extlinks (GH-117850) ( #117910 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-04-15 13:18:21 -06:00
Miss Islington (bot)
6dfb7e1f27
[3.12] Docs: make the whatsnew-typing-py312
anchor point to things that were new in the typing module (GH-117904) ( #117905 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-04-15 16:55:04 +00:00
Steve Dower
1a45659064
gh-90329: Add _winapi.GetLongPathName and GetShortPathName and use in venv to reduce warnings (GH-117817)
2024-04-15 16:43:41 +01:00
Steve Dower
667a574c8f
gh-112278: Improve error handling in wmi module and tests (GH-117818)
2024-04-15 16:43:28 +01:00
Serhiy Storchaka
3e5109682b
[3.12] gh-115664: Reorganize versionadded directives for -X options (GH-116304) (GH-117900)
...
Add the versionadded directives just under the description of the
corresponding option.
(cherry picked from commit 10f1a2687a
)
2024-04-15 15:15:43 +00:00
Nice Zombies
2dcb267324
[3.12] gh-117114: Update os.path function availability and link to genericpath.py in os.path.rst (GH-117756)
2024-04-15 15:49:44 +01:00
Miss Islington (bot)
6a4c06bcb3
[3.12] gh-117889: Fix PGO test in test_peg_generator (GH-117893) ( #117895 )
...
Reuse support.check_cflags_pgo() in test_peg_generator to check for
PGO build.
Log PGO_PROF_USE_FLAG in test.pythoninfo.
(cherry picked from commit 64cd6fc9a6
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2024-04-15 14:15:30 +00:00
Miss Islington (bot)
e7c774996a
[3.12] gh-91565: Replace bugs.python.org links with Devguide/GitHub ones (GH-91568) (GH-117890)
...
gh-91565: Replace bugs.python.org links with Devguide/GitHub ones (GH-91568)
(cherry picked from commit 3de09cadde
)
Co-authored-by: Steve (Gadget) Barnes <gadgetsteve@hotmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2024-04-15 12:59:34 +00:00
Hugo van Kemenade
a844e83b06
[3.12] Add 'The Python 2.3 Method Resolution Order' (GH-116435) ( #117885 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-15 14:14:16 +03:00
Miss Islington (bot)
50b94b150e
[3.12] gh-117694: Improve tests for PyEval_EvalCodeEx() (GH-117695) (GH-117884)
...
(cherry picked from commit 57bdb75975
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-15 10:02:43 +00:00
Miss Islington (bot)
a00dd31ee7
[3.12] Doc: mark up classes, attributes, parameters, and methods in dataclasses.rst (GH-117820) ( #117877 )
...
(cherry picked from commit e01831760e
)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
2024-04-14 17:00:00 +00:00
Miss Islington (bot)
1bf2d4be7e
[3.12] Tweak wording for dataclasses.replace (gh-117758) ( #117876 )
...
(cherry picked from commit e7cce2a9c6
)
Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com>
2024-04-14 16:52:44 +00:00
Miss Islington (bot)
0c0b2309fb
[3.12] gh-115692: Add tests to increase json
coverage (GH-115693) ( #117867 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2024-04-14 12:27:29 +00:00
Miss Islington (bot)
b6cb36574d
[3.12] dataclasses docs: add some link anchors (GH-117601) ( #117863 )
...
dataclasses docs: add some link anchors (GH-117601)
(cherry picked from commit c99d374fc7
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-04-14 08:10:07 +00:00
Miss Islington (bot)
efeb8a24b8
[3.12] Simpler example of shallow dict export of a dataclass (GH-117812) ( #117862 )
...
Simpler example of shallow dict export of a dataclass (GH-117812)
(cherry picked from commit f303651b45
)
Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com>
2024-04-14 00:22:35 +00:00
Miss Islington (bot)
222d16a18c
[3.12] gh-117840: Fix indent to fix shlex syntax highlighting (GH-117843) ( #117844 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-13 11:37:32 +00:00
Miss Islington (bot)
14cdb0d7a5
[3.12] gh-114466: explicitly define heap invariant (GH-117778) ( #117835 )
...
I think the choice of wording in these docs is great and doesn't
need to change. However, it could be useful to explicitly define
this term / the cost of doing so seems relatively low.
(cherry picked from commit 37a4cbd872
)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-04-13 07:11:49 +00:00
Miss Islington (bot)
0b11f0ef4f
[3.12] gh-117764: Add signatures for functions in the faulthandler module (GH-117771) (GH-117806)
...
(cherry picked from commit 245e426b55
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-12 10:48:55 +00:00
Hugo van Kemenade
aeb4ac7441
[3.12] Fix version directive indents (GH-117719) ( #117810 )
2024-04-12 10:41:25 +00:00
Miss Islington (bot)
a39e01dd09
[3.12] gh-117752: Autoconf: fix PGO builds for 'make -C build' incantations (GH-117803) ( #117805 )
...
(cherry picked from commit 1ddbeae040
)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
2024-04-12 10:07:42 +00:00
Miss Islington (bot)
3f2f0cff75
[3.12] gh-117752: Autoconf: fix -fno-semantic-interposition check (GH-117789) ( #117800 )
...
Force the compiler to issue an error if the flag is not supported.
(cherry picked from commit 49fc1414b5
)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
2024-04-12 07:53:22 +00:00
Miss Islington (bot)
c64b65e3aa
[3.12] gh-117752: Autoconf: store all LLVM profile data in the build directory (GH-117790) ( #117795 )
...
This prevents spurious 'env changed' and llvm-profdata merge errors.
(cherry picked from commit 396b831850
)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
2024-04-12 05:39:14 +00:00
Miss Islington (bot)
9376a9f0d8
[3.12] gh-117233: Detect support for several hashes at hashlib build time (GH-117234) ( #117767 )
...
gh-117233: Detect support for several hashes at hashlib build time (GH-117234)
Detect libcrypto BLAKE2, Shake, SHA3, and Truncated-SHA512 support at hashlib build time
GH-GH- BLAKE2
While OpenSSL supports both "b" and "s" variants of the BLAKE2 hash
function, other cryptographic libraries may lack support for one or both
of the variants. This commit modifies `hashlib`'s C code to detect
whether or not the linked libcrypto supports each BLAKE2 variant, and
elides references to each variant's NID accordingly. In cases where the
underlying libcrypto doesn't fully support BLAKE2, CPython's
`./configure` script can be given the following flag to use CPython's
interned BLAKE2 implementation: `--with-builtin-hashlib-hashes=blake2`.
GH-GH- SHA3, Shake, & truncated SHA512.
Detect BLAKE2, SHA3, Shake, & truncated SHA512 support in the
OpenSSL-ish libcrypto library at build time. This helps allow hashlib's
`_hashopenssl` to be used with libraries that do not to support every
algorithm that upstream OpenSSL does. Such as AWS-LC & BoringSSL.
(cherry picked from commit b8eaad3009
)
Co-authored-by: Will Childs-Klein <willck93@gmail.com>
Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
2024-04-11 18:36:31 +00:00
Miss Islington (bot)
84fb531fc2
[3.12] gh-104269: Document glob.glob
duplicates when using multiple **
patterns (GH-105406) ( #117757 )
...
gh-104269: Document `glob.glob` duplicates when using multiple `**` patterns (GH-105406)
(cherry picked from commit c06be6bbb8
)
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
2024-04-11 18:44:46 +01:00
Miss Islington (bot)
a3f1e980c3
[3.12] gh-101549: fix documentation of xml.etree.ElementInclude (GH-101550) ( #117754 )
...
Co-authored-by: Mikhail B <55960560+mbel0@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-04-11 14:53:27 +00:00