Commit 647426d
In previous versions of Python if an IntEnum member was combined with another integer type value using a bit-wise operation, the resulting value would still be the IntEnum type. This change restores that behavior.
(cherry picked from commit 70cfe56)
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
1 parent 3f7abff commit 647426d
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1575 | 1575 | | |
1576 | 1576 | | |
1577 | 1577 | | |
1578 | | - | |
| 1578 | + | |
1579 | 1579 | | |
1580 | 1580 | | |
1581 | 1581 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3349 | 3349 | | |
3350 | 3350 | | |
3351 | 3351 | | |
3352 | | - | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
3353 | 3356 | | |
3354 | 3357 | | |
3355 | 3358 | | |
| |||
3368 | 3371 | | |
3369 | 3372 | | |
3370 | 3373 | | |
3371 | | - | |
3372 | 3374 | | |
3373 | 3375 | | |
3374 | 3376 | | |
| |||
3385 | 3387 | | |
3386 | 3388 | | |
3387 | 3389 | | |
| 3390 | + | |
| 3391 | + | |
| 3392 | + | |
| 3393 | + | |
| 3394 | + | |
| 3395 | + | |
3388 | 3396 | | |
3389 | 3397 | | |
3390 | 3398 | | |
| |||
0 commit comments