Skip to content

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
@bedevere-bot
Copy link

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

@ethanfurman ethanfurman deleted the issue44342-enum_pickle branch June 11, 2021 08:31
@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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants