summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-03-31 14:40:21 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-03-31 15:10:42 -0400
commit5ed49f38c372360dbbe5c9e0c0e8fc502d034c0c (patch)
treee142f04043b53dd974aab5ae83d3306a7fedde5b /lib/sqlalchemy/sql/compiler.py
parentdedc85ba9d8e3292311c4593d2252a44556cd7fe (diff)
downloadsqlalchemy-5ed49f38c372360dbbe5c9e0c0e8fc502d034c0c.tar.gz
- The warning emitted by the unicode type for a non-unicode type
has been liberalized to warn for values that aren't even string values, such as integers; previously, the updated warning system of 1.0 made use of string formatting operations which would raise an internal TypeError. While these cases should ideally raise totally, some backends like SQLite and MySQL do accept them and are potentially in use by legacy code, not to mention that they will always pass through if unicode conversion is turned off for the target backend. fixes #3346
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions