]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Identity map .discard() uses dict.pop(,None)
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 Sep 2011 20:11:13 +0000 (16:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 Sep 2011 20:11:13 +0000 (16:11 -0400)
commitd2bd1395c65b2c298a1deef54fd1d04bbf54697f
tree5f6b472be691d16da11ff19f062832475edfddd6
parent840aab3beacdd1fe2a000dcd761d0514035cff94
  - Identity map .discard() uses dict.pop(,None)
    internally instead of "del" to avoid KeyError/warning
    during a non-determinate gc teardown [ticket:2267]
CHANGES
lib/sqlalchemy/orm/identity.py