Skip to content

[pull] main from python:main - #1369

Merged
pull[bot] merged 23 commits into
tj-python:mainfrom
python:main
Aug 13, 2026
Merged

[pull] main from python:main#1369
pull[bot] merged 23 commits into
tj-python:mainfrom
python:main

Conversation

@pull

@pull pull Bot commented Aug 13, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

isidentical and others added 23 commits August 13, 2026 08:28
The BOM already determines the encoding, so the declaration is now
omitted by default, and declares utf-8 if requested explicitly.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
IPv6Address.exploded raised AddressValueError, and
IPv6Interface.exploded omitted the scope ID.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
…getsourcefile/getfile can raise OSError (GH-113335)

Fixes #113329, which occurs when running doctests in a class docstring in a REPL environment.
Since Python 3.10, an OSError is raised when the class source code cannot be found.
…ame with CERT_NONE (GH-155509)

With PROTOCOL_TLS_CLIENT, which became the default protocol in 3.10, this is
an error.  With an explicitly specified legacy protocol it used to succeed,
silently raising verify_mode to CERT_REQUIRED and ignoring the requested
CERT_NONE.

No caller of ssl._create_stdlib_context() in the standard library passes
check_hostname, so no public API reaches it.
…H-155444)

The methods that default to removing or splitting on whitespace now link
to str.isspace() and bytes.isspace(), where whitespace is defined.
…h() (GH-155388)

On Windows abspath() resolves a drive-relative path against the current
directory of the specified drive, capitalizes the drive letter and strips
trailing dots and spaces, so the result can differ from
normpath(join(os.getcwd(), path)).  realpath() returns the path in the case
reported by the operating system.
Test that the order of keyword arguments and the order of class attribute
definitions are preserved.
Return converters had to hardcode "return_value", because declare() sets
data.return_value to the variable which receives the value returned by
the impl.  The name of the variable returned by the parsing function is
now available as data.parser_retval.
It can be modified to change the order in which the delimiters are
preferred for breaking ties.
…ing (GH-155073)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
…-155067)

Add a versionchanged note for the escapechar itself being escaped.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Add __replace__() to the _csv.Dialect type and to the csv.Dialect base
class.  Formatting parameters that are not replaced are inherited from
the original dialect, and the result is validated like a newly created
dialect.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Whether curses is thread-safe depends on the library and how it was built.
The blocking and refresh methods release the GIL, so with a non-reentrant
curses, unsynchronized use from several threads can crash.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
It is guessed by a majority vote among the line endings of the sample,
instead of always being '\r\n'.
…155620)

Check for the Py_TPFLAGS_IMMUTABLETYPE type flag in
test.support.check_immutable_type().
Use glibc functions instead of syscall(): pidfd_open(), pidfd_getfd()
and pidfd_send_signal() (glibc 2.36), gettid() and getdents64()
(glibc 2.30), and getrandom() (glibc 2.25).

Use unsigned int for os.getrandom() flags and
signal.pidfd_send_signal() flags.
* prevent executor self-links in JIT cold exits

* 📜🤖 Added by blurb_it.

* fix windows ci

---------

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Aug 13, 2026
@pull pull Bot added the ⤵️ pull label Aug 13, 2026
@pull
pull Bot merged commit 716cbae into tj-python:main Aug 13, 2026
34 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants