Skip to content

[pull] main from python:main - #1656

Merged
pull[bot] merged 2 commits into
All-Blockchains:mainfrom
python:main
Sep 1, 2026
Merged

[pull] main from python:main#1656
pull[bot] merged 2 commits into
All-Blockchains:mainfrom
python:main

Conversation

@pull

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

ShadiBahaa and others added 2 commits September 1, 2026 10:37
…headers (GH-149647)

When a PAX format tar archive contains only global headers and no
regular members, tarfile.open() raised ReadError because the
EOFHeaderError from reaching end-of-archive after the global header
was being caught and converted to SubsequentHeaderError in
TarInfo._proc_pax(). This prevented the caller from handling
end-of-archive normally.

Fix by letting EOFHeaderError propagate when processing a global
header (XGLTYPE), while still treating it as a SubsequentHeaderError
for extended headers (XHDTYPE) where a following file entry is
mandatory.

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
@pull pull Bot locked and limited conversation to collaborators Sep 1, 2026
@pull pull Bot added the ⤵️ pull label Sep 1, 2026
@pull
pull Bot merged commit 42de93a into All-Blockchains:main Sep 1, 2026
1 check failed
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.

2 participants