Skip to content

[pull] main from python:main - #1476

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

pull[bot] merged 6 commits into
tj-python:mainfrom
python:main

Conversation

@pull

@pull pull Bot commented Sep 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 : )

serhiy-storchaka and others added 6 commits September 13, 2026 20:32
…-156674)

Element.writexml() now writes the xmlns declarations needed for the
namespaces of the element and its attributes, if they are not already
declared for an ancestor.  A prefix in scope is reused for an attribute
in a namespace without a prefix, or a new one is invented, because
attributes cannot use the default namespace.  The document is not
modified by the serialization.
…156769)

Co-authored-by: Victor Stinner <vstinner@python.org>
GH-156646)

toxml() and toprettyxml() now work for document fragments.  They write
the children of the fragment, without adding a level of indentation.
…152764)

If a user configuration file cannot be read, because of either bad unicode or configuration,
rename it with a ".bad" suffix, use default settings, and warn the user with a message box.
---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
…-157461)

Use os_helper.FS_NONASCII and os_helper.TESTFN_UNDECODABLE instead of
hardcoded UTF-8 results.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Sep 13, 2026
@pull pull Bot added the ⤵️ pull label Sep 13, 2026
@pull
pull Bot merged commit fd0970c into tj-python:main Sep 13, 2026
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.

3 participants