]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Changed the update() method on association proxy
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 14 Sep 2011 15:31:33 +0000 (11:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 14 Sep 2011 15:31:33 +0000 (11:31 -0400)
commit1cf80dc5b273dc92607863bdd3af859840aa3364
tree7529a14e1fae87a3d024fddd667efe4c757576de
parent98a08bf207c21a4bc06c2ec6fbda9819f59dc751
  - Changed the update() method on association proxy
    dictionary to use a duck typing approach, i.e.
    checks for "keys", to discern between update({})
    and update((a, b)).   Previously, passing a
    dictionary that had tuples as keys would be misinterpreted
    as a sequence. [ticket:2275]
CHANGES
lib/sqlalchemy/ext/associationproxy.py
lib/sqlalchemy/sql/expression.py
test/ext/test_associationproxy.py
test/sql/test_selectable.py