]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added new flag to String and create_engine(), assert_unicode=(True|False|None).
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 25 Nov 2007 23:14:03 +0000 (23:14 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 25 Nov 2007 23:14:03 +0000 (23:14 +0000)
commite4056a17874a6b9c9af4f1c2ef48d15ebcc49160
treeceaf25bf8f985036797e7a5024618118439de078
parent99827142d6b42bc2a83a22a9663cd46f13e94a4f
- added new flag to String and create_engine(), assert_unicode=(True|False|None).
When convert_unicode=True, this flag also defaults to `True`, and results in all
unicode conversion operations raising an exception when a non-unicode bytestring
is passed as a bind parameter.  It is strongly advised that all unicode-aware
applications make proper use of Python unicode objects (i.e. u'hello' and
not 'hello').
CHANGES
doc/build/content/dbengine.txt
doc/build/content/types.txt
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/types.py
test/sql/testtypes.py