Skip to content

[3.9] bpo-35474: Fix mimetypes.guess_all_extensions() potentially mutating list (GH-28286) #28290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 11, 2021

  • Calling guess_all_extensions() with strict=False potentially
    mutated types_map_inv.
  • Mutating the result of guess_all_extensions() mutated types_map_inv.
    (cherry picked from commit 97ea18e)

Co-authored-by: Serhiy Storchaka [email protected]

https://bugs.python.org/issue35474

…list (pythonGH-28286)

* Calling guess_all_extensions() with strict=False potentially
  mutated types_map_inv.
* Mutating the result of guess_all_extensions() mutated types_map_inv.
(cherry picked from commit 97ea18e)

Co-authored-by: Serhiy Storchaka <[email protected]>
@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

@bedevere-bot bedevere-bot added type-bug An unexpected behavior, bug, or error awaiting review labels Sep 11, 2021
@ambv ambv merged commit 9cd8fb8 into python:3.9 Sep 13, 2021
@miss-islington miss-islington deleted the backport-97ea18e-3.9 branch September 13, 2021 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants