gh-84353: Change the first-attempt zipfile encoding to cp437#104347
Closed
arhadthedev wants to merge 1 commit intopython:mainfrom
Closed
gh-84353: Change the first-attempt zipfile encoding to cp437#104347arhadthedev wants to merge 1 commit intopython:mainfrom
arhadthedev wants to merge 1 commit intopython:mainfrom
Conversation
Member
Author
|
This test fails: cpython/Lib/test/test_zipfile/test_core.py Lines 2983 to 2984 in 22f3425 Relevant declarations: cpython/Lib/test/test_zipfile/test_core.py Lines 2970 to 2973 in 22f3425 cpython/Lib/test/test_zipfile/test_core.py Line 2896 in 22f3425 |
gpshead
reviewed
May 10, 2023
| def _encodeFilenameFlags(self): | ||
| try: | ||
| return self.filename.encode('ascii'), self.flag_bits | ||
| return self.filename.encode('cp437'), self.flag_bits |
Member
There was a problem hiding this comment.
This would need to add the removal of the UTF-8 bit from flag_bits again... which would re-create this regression. #95463
I'll follow up on the issue.
Member
Author
|
Should I close this PR since the parent issue is closed? |
Member
Author
|
From #84353 (comment):
Thus closing the PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.