◐ Shell
clean mode source ↗

bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs (GH-15522)" by maxking · Pull Request #16724 · python/cpython

yarikoptic

Choose a reason for hiding this comment

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

Could a unit test been added to verify (current and future) correct operation on a file name with ; and may be other tricky symbols legit to be in a file name but not a URL?

@maxking

@yarikoptic This is just reverting the previous change which caused the regression so release managers can pick this up for the final releases.

Fixes and more unit tests should be best added in the next PR which should fix the original issue and the issue raised in bpo-38449.

ned-deily

Choose a reason for hiding this comment

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

LGTM, except it needs a news (blurb) entry about the revert since it introduces a change between 3.8.0rc1/3.7.5rc1 and 3.8.0final/3.7.5final.

@bedevere-bot

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@maxking

I have made the requested changes; please review again

@bedevere-bot

Thanks for making the requested changes!

@ned-deily: please review the changes made to this pull request.

ned-deily

@miss-islington

Thanks @maxking for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

@miss-islington

Sorry @maxking, I had trouble checking out the 3.8 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 19a3d873005e5730eeabdc394c961e93f2ec02f0 3.8

@bedevere-bot

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Oct 12, 2019

maxking added a commit to maxking/cpython-1 that referenced this pull request

Oct 12, 2019

@bedevere-bot

maxking added a commit that referenced this pull request

Oct 12, 2019

ned-deily pushed a commit to ned-deily/cpython that referenced this pull request

Oct 14, 2019

jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request

Dec 5, 2019