]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The warning emitted by the unicode type for a non-unicode type
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 31 Mar 2015 18:40:21 +0000 (14:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 31 Mar 2015 19:10:42 +0000 (15:10 -0400)
commit5ed49f38c372360dbbe5c9e0c0e8fc502d034c0c
treee142f04043b53dd974aab5ae83d3306a7fedde5b
parentdedc85ba9d8e3292311c4593d2252a44556cd7fe
- 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
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/util/langhelpers.py
test/sql/test_types.py