You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
da-woods opened this issue
Jun 15, 2023
· 4 comments
Assignees
Labels
3.11only security fixespendingThe issue will be closed if no feedback is providedstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error
Following the changes to fix that issue enum.IntFlag appears to pickle correctly on the latest Python 3.12 commit (dd36656ada05731c069ecd5b1878380294fb1f3e) but fail on Python 3.11.4 (where on 3.11.2 it worked)
Just as background for this, in Cython we're converting C enums in enum.IntFlags when they're passed back to Python. One of the tests we have is that our converted enums can be pickled and unpickled, and this test is now failing. (Although it can be easily demonstrated outside Cython, as in the reproducible example above)
3.11only security fixespendingThe issue will be closed if no feedback is providedstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error
Bug report
Follow up to #105332
Following the changes to fix that issue
enum.IntFlag
appears to pickle correctly on the latest Python 3.12 commit (dd36656ada05731c069ecd5b1878380294fb1f3e) but fail on Python 3.11.4 (where on 3.11.2 it worked)Code to reproduce
error output:
Your environment
64 bit Linux, Python 3.11.4
The text was updated successfully, but these errors were encountered: