]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix string formatting TypeError if tuple is passed
authorMiguel Ventura <miguel.ventura@gmail.com>
Mon, 14 May 2018 20:56:58 +0000 (16:56 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 17 May 2018 16:23:10 +0000 (12:23 -0400)
commit0b0b58c938c6a38fccc3e0ba59876b3b6b4f8009
tree7482bb46bf1e352b184644ce549686ee8befe0e6
parent432d24ab1aac04a8ec881919964ff47ad8154659
Fix string formatting TypeError if tuple is passed

Fixed issue where the "ambiguous literal" error message used when
interpreting literal values as SQL expression values would encounter a
tuple value, and fail to format the message properly. Pull request courtesy
Miguel Ventura.

Change-Id: I50d5d32d5f80ec79703a42d4b19b42c2f9701f24
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/442
doc/build/changelog/unreleased_12/pr442.rst [new file with mode: 0644]
lib/sqlalchemy/sql/elements.py
test/sql/test_case_statement.py