Skip to content

Read XBM header line by line, instead of through regex - #10109

Merged
radarhere merged 1 commit into
python-pillow:mainfrom
radarhere:xbm
Oct 3, 2026
Merged

radarhere merged 1 commit into
python-pillow:mainfrom
radarhere:xbm

Conversation

@radarhere

Copy link
Copy Markdown
Member

It is unusual for Pillow to use regex to parse the entire header. This switches to a more typical line by line parsing.

Co-authored-by: Jeffrey 'Alex' Clark <aclark@aclark.net>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@radarhere
radarhere enabled auto-merge (squash) October 3, 2026 02:47
@radarhere
radarhere merged commit 2852a3e into python-pillow:main Oct 3, 2026
52 checks passed
@radarhere
radarhere deleted the xbm branch October 3, 2026 03:44
@radarhere radarhere added the 🤖-assisted AI-assisted label Oct 5, 2026
@aclark4life aclark4life added the XBM X BitMap label Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖-assisted AI-assisted XBM X BitMap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants