This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dhillier
Recipients dhillier, serhiy.storchaka
Date 2021-05-14.04:53:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620968007.4.0.439932400929.issue44129@roundup.psfhosted.org>
In-reply-to
Content
In the zipfile module, masking of bit flags is done against hex numbers eg. if flags & 0x800...

To increase readability I suggest we replace these with global variables named for the purpose of the flag. From the example above:

if flags & 0x800
becomes:
if flags & _MASK_UTF_FILENAME
History
Date User Action Args
2021-05-14 04:53:27dhilliersetrecipients: + dhillier, serhiy.storchaka
2021-05-14 04:53:27dhilliersetmessageid: <1620968007.4.0.439932400929.issue44129@roundup.psfhosted.org>
2021-05-14 04:53:27dhillierlinkissue44129 messages
2021-05-14 04:53:27dhilliercreate