]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug in "to_list" conversion where a single bytes object
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 22 Feb 2016 01:52:43 +0000 (20:52 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 22 Feb 2016 01:53:21 +0000 (20:53 -0500)
commitc87d0bff3ada6368512462211973980e52591f6f
tree5140f368e3f8a22461b26efbb6333dcdbf8769ca
parentcf818984ab52d824dbf77fcb6f18ec4efca53704
- Fixed bug in "to_list" conversion where a single bytes object
would be turned into a list of individual characters.  This would
impact among other things using the :meth:`.Query.get` method
on a primary key that's a bytes object.
fixes #3660

(cherry picked from commit 01809bddff5b6e93010eb139aed54526c6e6c058)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/util/_collections.py
lib/sqlalchemy/util/compat.py
test/base/test_utils.py