summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/context.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-10-27 09:28:02 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-10-27 09:28:02 -0400
commitcaa9f0ff98d44359f5162bca8e7fe7bcaa2989a7 (patch)
tree4c5dc28f076179e1a7bf8c45b9c916c480d53d69 /lib/sqlalchemy/orm/context.py
parent811979150cd9f1aed3d6de6938b84179b2092b89 (diff)
downloadsqlalchemy-caa9f0ff98d44359f5162bca8e7fe7bcaa2989a7.tar.gz
apply basic escaping to anon_labels unconditionally
Fixed issue which prevented the :func:`_sql.literal_column` construct from working properly within the context of a :class:`.Select` construct as well as other potential places where "anonymized labels" might be generated, if the literal expression contained characters which could interfere with format strings, such as open parenthesis, due to an implementation detail of the "anonymous label" structure. Fixes: #8724 Change-Id: I3089124fbd055a011c8a245964258503b717d941
Diffstat (limited to 'lib/sqlalchemy/orm/context.py')
0 files changed, 0 insertions, 0 deletions