]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing...
authorAbhilash Raj <maxking@users.noreply.github.com>
Sat, 12 Oct 2019 16:58:11 +0000 (09:58 -0700)
committerGitHub <noreply@github.com>
Sat, 12 Oct 2019 16:58:11 +0000 (09:58 -0700)
commit5a638a805503131f4a9cc2bbc5944611295c1500
tree293b0ff4bda104d185dd751d2bcc0ba98047267e
parent1da648aceb2496c672aff82ba37ee071ac6054ac
[3.8] bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs" (GH-16724) (GH-16728)

This reverts commit 87bd2071c756188b6cd577889fb1682831142ceb.

The reason for revert is a regression caused by the change in 3.8.0rc1, see bpo-38449 for more details.

https://bugs.python.org/issue38449
(cherry picked from commit 19a3d873005e5730eeabdc394c961e93f2ec02f0)

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
Lib/mimetypes.py
Lib/test/test_mimetypes.py
Lib/test/test_urllib2.py
Misc/NEWS.d/next/Library/2019-10-11-18-49-00.bpo-38449.9TWMlz.rst [new file with mode: 0644]