Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Commitb613132
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 necessaryfor class-based enum creation.(cherry picked from commit62f1d2b)Co-authored-by: Ethan Furman <ethan@stoneleaf.us>Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
1 parent3e13742 commitb613132
File tree
3 files changed
+9
-25
lines changed- Lib
- test
- Misc/NEWS.d/next/Library
3 files changed
+9
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | 459 | | |
477 | 460 | | |
478 | 461 | | |
| |||
792 | 775 | | |
793 | 776 | | |
794 | 777 | | |
795 | | - | |
| 778 | + | |
796 | 779 | | |
797 | 780 | | |
798 | 781 | | |
| |||
1030 | 1013 | | |
1031 | 1014 | | |
1032 | 1015 | | |
1033 | | - | |
| 1016 | + | |
1034 | 1017 | | |
1035 | 1018 | | |
1036 | 1019 | | |
| |||
1091 | 1074 | | |
1092 | 1075 | | |
1093 | 1076 | | |
1094 | | - | |
| 1077 | + | |
1095 | 1078 | | |
1096 | 1079 | | |
1097 | 1080 | | |
| |||
1795 | 1778 | | |
1796 | 1779 | | |
1797 | 1780 | | |
1798 | | - | |
| 1781 | + | |
1799 | 1782 | | |
1800 | 1783 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
833 | | - | |
| 833 | + | |
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
| |||
1527 | 1527 | | |
1528 | 1528 | | |
1529 | 1529 | | |
1530 | | - | |
1531 | | - | |
| 1530 | + | |
| 1531 | + | |
1532 | 1532 | | |
1533 | | - | |
| 1533 | + | |
1534 | 1534 | | |
1535 | 1535 | | |
1536 | 1536 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments
Comments
(0)