Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-119052: Set CRC to 0 in mkdir in all cases#119108
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
ghost commentedMay 17, 2024 • edited by ghost
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by ghost
Uh oh!
There was an error while loading.Please reload this page.
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
This looks good. A further enhancement would be to change the 2 ways directory ZipInfo instances are created into a single implementation. Perhaps a class method? Currently there are two locations that I've been able to find where a directory ZipInfo is created and (as you discovered!) they don't create them in the same way. Here they are: cpython/Lib/zipfile/__init__.py Lines 1948 to 1953 inac37a80
cpython/Lib/zipfile/__init__.py Lines 596 to 600 inac37a80
A test or two to make sure this functionality is captured would be good too. |
@danifus are those requests a hard requirement for getting this in; the minimal changelooks good to me. |
I think a test is required but the refactoring isn't required for this PR |
Uh oh!
There was an error while loading.Please reload this page.