bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes#3062
bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes#3062zooba merged 11 commits into
Conversation
Bring in the new .json entry from master.
|
I see a new check. Should I write a news entry for this? Or will the committer? |
Sorry, something went wrong.
|
@davidkhess It's easier for us if you create the news entry because if a core dev decides to merge this they can edit the file easily through GitHub's web UI while having to add a file is much more burdensome. |
Sorry, something went wrong.
|
News entry added. |
Sorry, something went wrong.
1 similar comment
|
@brettcannon @bitdancer, anything I can do to help this along? I'm willing to resolve the conflict but I don't want to waste my time if this PR is never going to be merged. |
Sorry, something went wrong.
|
Unfortunately I don't know this module well enough to feel comfortable reviewing it. I would try pinging the issue to ask if someone could review it. |
Sorry, something went wrong.
|
Pinged. |
Sorry, something went wrong.
tiran
left a comment
There was a problem hiding this comment.
Please resolve the merge conflict
Sorry, something went wrong.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Sorry, something went wrong.
|
The merge conflict does need to be fixed, and it looks like it'll be a bit of work to figure out exactly what needs merging. |
Sorry, something went wrong.
|
I'm making the requested changes now. |
Sorry, something went wrong.
Sorry, something went wrong.
|
@serhiy-storchaka and @zooba, the merge conflicts have been resolved. I know this was approved last year, but I wanted to make sure you were still OK with it before merging. Thanks! |
Sorry, something went wrong.
|
Thanks @davidkhess for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
Sorry, something went wrong.
|
Sorry @davidkhess and @zooba, I had trouble checking out the |
Sorry, something went wrong.
|
This change has resulted in a difference in behaviour from previous versions of Python in that even when specifying Unfortunately this change wasn't documented in the changelog either, nor in the docstring comments, so it can only be found by examining the commit history for the code in cpython. Would it be appropriate to add another kwarg to |
Sorry, something went wrong.
|
@adeadman posted a message inline as a reply to mine at 9fc720e#r45794801 In essence this fixe was supposed to bring in a deterministic behaviour and actually had the complete opposite effect. I still consider this a regression. I stopped using mimetypes for now as it is useless as it is now. |
Sorry, something went wrong.
|
Could you please open a new bug report? Comments on closed PRs tend to get lost. |
Sorry, something went wrong.
Sorry, something went wrong.
Tracked in:
https://bugs.python.org/issue4963
In particular, here's my thoughts on it which led to this PR:
https://bugs.python.org/msg293626
https://bugs.python.org/issue4963