Skip to content

Conversation

@kumaraditya303
Copy link
Contributor

@kumaraditya303 kumaraditya303 commented Dec 22, 2021

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Thanks!

From looking on the original patch, it looks like that you've missed this part:

-        The suffixes .tgz, .taz and .tz (case sensitive!) are all
+        The suffixes .tgz, .taz and .tz are all

Is it intentional?

@kumaraditya303
Copy link
Contributor Author

kumaraditya303 commented Dec 23, 2021

Thanks!

From looking on the original patch, it looks like that you've missed this part:

-        The suffixes .tgz, .taz and .tz (case sensitive!) are all
+        The suffixes .tgz, .taz and .tz are all

Is it intentional?

I haven't applied that patch and as you commented I even tried to apply it now but it is outdated so not worth copy pasting.

@kumaraditya303 kumaraditya303 requested review from JelleZijlstra and removed request for a team March 10, 2022 09:25
Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

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

Looks right but I'm not comfortable merging this; I'd like to hear from someone more familiar with MIME types first.

@asvetlov asvetlov changed the title bpo-20392: Fix inconsistency with uppercase file extensions in mimety… bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type Mar 15, 2022
@asvetlov asvetlov merged commit 5dd7ec5 into python:main Mar 15, 2022
@kumaraditya303 kumaraditya303 deleted the issue20392 branch March 15, 2022 13:28
@miss-islington
Copy link
Contributor

Thanks @kumaraditya303 for the PR, and @asvetlov for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @kumaraditya303 for the PR, and @asvetlov for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 15, 2022
…pes.guess_type (pythonGH-30229)

(cherry picked from commit 5dd7ec5)

Co-authored-by: Kumar Aditya <[email protected]>
@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Mar 15, 2022
@bedevere-bot
Copy link

GH-31904 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 15, 2022
…pes.guess_type (pythonGH-30229)

(cherry picked from commit 5dd7ec5)

Co-authored-by: Kumar Aditya <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants