Visitar URL original
bpo-44129: Add descriptive global variables for general purpose bit f… by danifus · Pull Request #26118 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20250629155445/https://github.com/python/cpython/pull/26118
Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2021

Conversation

danifus
Copy link
Contributor

@danifus danifus commented May 14, 2021 •

…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

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
Copy link
Member

FFY00 commented Jun 24, 2021

@iritkatriel, could you look at this? 😊

@iritkatriel
Copy link
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
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM

@danifus
Copy link
Contributor Author

danifus commented Jul 4, 2021

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