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

bpo-44342: [Enum] change pickling from by-value to by-name #26658

Merged
merged 1 commit into from
Jun 10, 2021

Commits on Jun 10, 2021

  1. [Enum] changed pickling from by-value to by-name

    by-value lookups could fail on complex enums, necessitating a check for
    __reduce__ and possibly sabotaging the final enum;
    
    by-name lookups should never fail, and sabotaging is no longer necessary
    for class-based enum creation.
    ethanfurman committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    44eaaa4 View commit details
    Browse the repository at this point in the history