]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The :class:`.RowProxy` object is now sortable in Python as a regular
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 Nov 2013 00:29:18 +0000 (19:29 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 Nov 2013 00:29:18 +0000 (19:29 -0500)
commit02f21ffcf366da406795334d2fc6908a2f3c9b2f
treef3f92d882667d7133f9e623335134dd4dc59a5b0
parent63508b82cd5710c660383bcac5fcfd3bb6af83c1
- The :class:`.RowProxy` object is now sortable in Python as a regular
tuple is; this is accomplished via ensuring tuple() conversion on
both sides within the ``__eq__()`` method as well as
the addition of a ``__lt__()`` method. [ticket:2848]
doc/build/changelog/changelog_09.rst
doc/build/changelog/migration_09.rst
lib/sqlalchemy/engine/result.py
test/aaa_profiling/test_resultset.py
test/sql/test_query.py