]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Don't use repr() for Column/ColumnClause in warning
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Sep 2017 03:08:30 +0000 (23:08 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Sep 2017 03:08:30 +0000 (23:08 -0400)
commit4c97ea116c3686cb03f566f16b0a0e9a9fd33968
tree4ada070a217cc8a2a25a2dac7b060bdbe31c0b01
parentdb170dd4529c5176d38db649dd75427a932b47fe
Don't use repr() for Column/ColumnClause in warning

for #4073, use the string version of the column expression
in the warning, otherwise the repr() is showing the hex id
which causes unlimited warnings.

Change-Id: I6869b685b237e7f02c7b5071701dd63a3577182a
lib/sqlalchemy/orm/evaluator.py
test/orm/test_evaluator.py