]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed 0.9 regression where the new sortable support for :class:`.RowProxy`
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 29 Jan 2014 04:43:14 +0000 (23:43 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 29 Jan 2014 04:43:14 +0000 (23:43 -0500)
commitd4c908ded1e9a7923312f3b335835e7e40b6690e
tree8737395d3494ad31270c1dddb1ade580ceaf8a47
parentd8d03011b8dafe48b71e9eb3bc756d05da54a7bf
- Fixed 0.9 regression where the new sortable support for :class:`.RowProxy`
would lead to ``TypeError`` when compared to non-tuple types as it attempted
to apply tuple() to the "other" object unconditionally.  The
full range of Python comparison operators have now been implemented on
:class:`.RowProxy`, using an approach that guarantees a comparison
system that is equivalent to that of a tuple, and the "other" object
is only coerced if it's an instance of RowProxy. [ticket:2924]
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/engine/result.py
test/sql/test_query.py