X Tutup
The Wayback Machine - https://web.archive.org/web/20221223181611/https://github.com/python/cpython/pull/28289
Skip to content
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

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

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 storchaka@gmail.com

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 <storchaka@gmail.com>
@miss-islington
Copy link
Contributor Author

miss-islington commented Sep 11, 2021

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

@ambv ambv merged commit 06c26f4 into python:3.10 Sep 13, 2021
13 checks passed
@miss-islington miss-islington deleted the backport-97ea18e-3.10 branch Sep 13, 2021
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.

None yet

5 participants
X Tutup