]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
- Fixed a variety of issues surrounding rendering of Python code that
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 17 Nov 2014 02:44:16 +0000 (21:44 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 17 Nov 2014 02:44:16 +0000 (21:44 -0500)
commita02719dcca8f10d227f6e8fcfcb4b042a9e36cf7
treedecc421a9e007a44fdb7ddaa140d24f0dd59825f
parentafaba66ea550d9aefc823b7025d0e2b56d4a37fa
- Fixed a variety of issues surrounding rendering of Python code that
contains unicode literals.  The first is that the "quoted_name" construct
that SQLAlchemy uses to represent table and column names as well
as schema names does not ``repr()`` correctly on Py2K when the value
contains unicode characters; therefore an explicit stringification is
added to these.  Additionally, SQL expressions such as server defaults
were not being generated in a unicode-safe fashion leading to decode
errors if server defaults contained non-ascii characters.
fixes #243
alembic/autogenerate/render.py
alembic/compat.py
alembic/testing/assertions.py
alembic/testing/exclusions.py
docs/build/changelog.rst
tests/test_autogen_render.py