summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/json.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-11-09 18:41:54 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2022-11-10 12:19:02 -0500
commite3a8d198917f4246365e09fa975d55c64082cd2e (patch)
tree19c47960c4ab212a59528e0f8dedf6d3a77b557f /lib/sqlalchemy/dialects/postgresql/json.py
parentebb54e80a5a52d0cce4cba1abc21c707a42c2c73 (diff)
downloadsqlalchemy-e3a8d198917f4246365e09fa975d55c64082cd2e.tar.gz
work around Python 3.11 IntEnum issue; update FastIntFlag
in [1], Python 3.11 seems to have changed the behavior of IntEnum. We didn't notice this because we have our own workaround class already, but typing did. Ensure we remain compatible with IntFlag. This change also modifies FastIntFlag to no longer use global symbols; this is unnecessary as we assign FastIntFlag members explicitly. Use of ``symbol()`` should probably be phased out. [1] https://github.com/python/cpython/issues/99304 Fixes: #8783 Change-Id: I8ae2e871ff1467ae5ca1f63e66b5dae45d4a6c93
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/json.py')
0 files changed, 0 insertions, 0 deletions