SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

bpo-44342: [Enum] changed pickling from by-value to by-name (GH-26658)

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.
E
Ethan Furman committed
62f1d2b3d7dda99598d053e10b785c463fdcf591
Parent: 0507303
Committed by GitHub <noreply@github.com> on 6/10/2021, 10:52:09 PM