| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
pythonGH-26658 introduced a regression in copy / pickle protocol for combined `enum.Flag`s. `copy.copy(re.A | re.I)` would fail with `AttributeError: ASCII|IGNORECASE`. `enum.Flag` now has a `__reduce_ex__()` method that reduces flags by combined value, not by combined name. (cherry picked from commit 05b32c1) Co-authored-by: Christian Heimes <christian@python.org>
|
Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
|
@tiran: Status check is done, and it's a success ❌ . |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
GH-26658 introduced a regression in copy / pickle protocol for combined
enum.Flags. copy.copy(re.A | re.I) would fail with
AttributeError: ASCII|IGNORECASE.
enum.Flag now has a __reduce_ex__() method that reduces flags by
combined value, not by combined name.
(cherry picked from commit 05b32c1)
Co-authored-by: Christian Heimes christian@python.org