[pull] main from python:main - #1369
Merged
Merged
Conversation
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>
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )