Visitar URL original
[3.9] bpo-44342: [Enum] improve pickle support by ethanfurman · Pull Request #26666 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20220203012545/https://github.com/python/cpython/pull/26666
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.9] bpo-44342: [Enum] improve pickle support #26666

Merged
merged 1 commit into from Jun 11, 2021

Conversation

@ethanfurman
Copy link
Member

@ethanfurman ethanfurman commented Jun 11, 2021 •

search all bases for a reduce style method; if a new method is
found first the enum will be made unpicklable

https://bugs.python.org/issue44342

search all bases for a __reduce__ style method; if a __new__ method is
found first the enum will be made unpicklable
@ethanfurman ethanfurman changed the title bpo-44342: [Enum] improve pickle support [3.10] bpo-44342: [Enum] improve pickle support Jun 11, 2021
@ethanfurman ethanfurman merged commit e972631 into python:3.9 Jun 11, 2021
14 checks passed
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jun 11, 2021

@ethanfurman: Please replace # with GH- in the commit message next time. Thanks!

@ethanfurman ethanfurman deleted the issue44342-enum_pickle branch Jun 11, 2021
@ethanfurman ethanfurman changed the title [3.10] bpo-44342: [Enum] improve pickle support [3.9] bpo-44342: [Enum] improve pickle support Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants