Skip to content

Conversation

eyedav
Copy link
Contributor

@eyedav eyedav commented Jul 19, 2025

Rebase of PR #8510 (Use enums for Modes and RawModes in C) on latest main, done during EuroPython25's Sprint: creating a new PR as agreed with @wiredfool.

typedef enum {
IMAGING_RAWMODE_UNKNOWN,

// Non-rawmode aliases.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this comment. RawModeID isn't filled with items related to rawmodes?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's that these are the same as modes, so that IMAGING_MODE_1 == IMAGING_RAWMODE_1

@hugovk hugovk added this to the 12.0.0 milestone Oct 14, 2025
@hugovk
Copy link
Member

hugovk commented Oct 15, 2025

@radarhere Would you like to push eyedav#3 directly here?

@radarhere
Copy link
Member

I tried, but for some reason I'm not sure of, I don't seem to have permission.

@hugovk
Copy link
Member

hugovk commented Oct 15, 2025

It does say "Maintainers are allowed to edit this pull request" but 🤷

New PR?

@mergify mergify bot merged commit bd6e70f into python-pillow:main Oct 15, 2025
106 of 111 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants