]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fit literal compile of empty in on a tuple
authorFederico Caselli <cfederico87@gmail.com>
Fri, 16 Apr 2021 20:07:34 +0000 (22:07 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Fri, 16 Apr 2021 20:28:16 +0000 (22:28 +0200)
commit91562f56185e1e69676712ccb109865a6622a538
treef901b04f7e1a569936f827122ad4222edcd19dd3
parentb73fc8f874da94c9c5b2d94feb6b1b45b7f4f02b
Fit literal compile of empty in on a tuple

Fixed regression where an empty in statement on a tuple would result
in an error when compiled with the option ``literal_binds=True``.

Fixes: #6290
Change-Id: Ic0dff8f4a874cccdb201b6d9dcd3c2e7b7884cbb
doc/build/changelog/unreleased_14/6290.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/elements.py
test/sql/test_operators.py