Skip to content

bpo-44129: Add descriptive global variables for general purpose bit f…#26118

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
danifus:bpo44129
Jul 3, 2021
Merged

bpo-44129: Add descriptive global variables for general purpose bit f…#26118
serhiy-storchaka merged 1 commit into
python:mainfrom
danifus:bpo44129

Conversation

@danifus

@danifus danifus commented May 14, 2021

Copy link
Copy Markdown
Contributor

…lags

Replace hex flag masks with named global variables to improve
readability.

eg.
if flags & 0x800
becomes:
if flags & _MASK_UTF_FILENAME

https://bugs.python.org/issue44129

…lags

Replace hex flag masks with named global variables to improve
readability.

eg.
if flags & 0x800
becomes:
if flags & _MASK_UTF_FILENAME
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Jun 24, 2021
@FFY00

FFY00 commented Jun 24, 2021

Copy link
Copy Markdown
Member

@iritkatriel, could you look at this? 😊

@iritkatriel

Copy link
Copy Markdown
Member

@serhiy-storchaka and @Yhg1s are listed as zipfile experts.

@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Jun 25, 2021

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@danifus

danifus commented Jul 4, 2021

Copy link
Copy Markdown
Contributor Author

Thanks for your help everyone!

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.

6 participants