Add ZipInfo.mode property · Issue #91356 · python/cpython (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open

dignissimus mannequin opened this issue

Apr 2, 2022

· 2 comments

Open

Add ZipInfo.mode property #91356

dignissimus mannequin opened this issue

Apr 2, 2022

· 2 comments

Comments

@dignissimus

BPO 47200
Nosy @Yhg1s, @ethanfurman, @serhiy-storchaka, @dignissimus
PRs gh-91356: Add ZipInfo.mode attribute #32252
Files sam_ezeh.patch

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None closed_at = None created_at = <Date 2022-04-02.12:21:15.631> labels = ['type-feature', 'library', '3.11'] title = 'Add ZipInfo.mode property' updated_at = <Date 2022-04-02.21:29:27.246> user = 'https://github.com/dignissimus'

bugs.python.org fields:

activity = <Date 2022-04-02.21:29:27.246> actor = 'ethan.furman' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2022-04-02.12:21:15.631> creator = 'sam_ezeh' dependencies = [] files = ['50715'] hgrepos = [] issue_num = 47200 keywords = ['patch'] message_count = 1.0 messages = ['416550'] nosy_count = 5.0 nosy_names = ['twouters', 'alanmcintyre', 'ethan.furman', 'serhiy.storchaka', 'sam_ezeh'] pr_nums = ['32252'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue47200' versions = ['Python 3.11']

@dignissimus

@gpshead

While the supplied patch adding a property for mode makes sense, I think it'd need to go a little further and handle things like the 0o40000 bit for Directory and whatever other potential bits zip files are able to represent. not just the base 9-bit posix mode values.

1 participant

@gpshead