]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added 'comparator' keyword argument to PickleType. By default, "mutable"
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Sep 2007 15:55:02 +0000 (15:55 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Sep 2007 15:55:02 +0000 (15:55 +0000)
commit7f6bf93da869a5b59c53d0d10a50da3c23c4b738
treed166f0ed44e4b1b51de1ad28f2bfc56d8b565cfd
parent927d5d8929ad865182d6c6815dd5df8875777ceb
- added 'comparator' keyword argument to PickleType.  By default, "mutable"
  PickleType does a "deep compare" of objects using their dumps() representation.
  But this doesn't work for dictionaries.  Pickled objects which provide an
  adequate __eq__() implementation can be set up with "PickleType(comparator=operator.eq)"
  [ticket:560]
CHANGES
lib/sqlalchemy/types.py
test/orm/unitofwork.py