diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2021-06-10 22:52:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-10 22:52:09 (GMT) |
commit | 62f1d2b3d7dda99598d053e10b785c463fdcf591 (patch) | |
tree | ca0da643fcceb26b1ed655b190794e47b6abbd00 /Lib/test/test_baseexception.py | |
parent | 05073036dcecefc00b0c3e7397601809da41e2f1 (diff) | |
download | cpython-62f1d2b3d7dda99598d053e10b785c463fdcf591.zip cpython-62f1d2b3d7dda99598d053e10b785c463fdcf591.tar.gz cpython-62f1d2b3d7dda99598d053e10b785c463fdcf591.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_baseexception.py')
0 files changed, 0 insertions, 0 deletions