diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-01-28 01:28:20 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-01-28 01:28:20 +0000 |
commit | 397ba5d73d8486a2092cacfaaa743d92731ce67c (patch) | |
tree | c8703adb47ed04f345374242a25055c2749f04e4 /lib/sqlalchemy/util.py | |
parent | 7e7aa8f7c28628c4b5de7428c33ed63552e8f5b9 (diff) | |
download | sqlalchemy-397ba5d73d8486a2092cacfaaa743d92731ce67c.tar.gz |
- _CalculatedClause is gone
- Function rolls the various standalone execution functionality of CC into itself,
accesses its internal state more directly
- collate just uses _BinaryExpression, don't know why it didn't do this already
- added new _Case construct, compiles directly
- the world is a happier place
Diffstat (limited to 'lib/sqlalchemy/util.py')
-rw-r--r-- | lib/sqlalchemy/util.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/sqlalchemy/util.py b/lib/sqlalchemy/util.py index 110ef21d5..038040d87 100644 --- a/lib/sqlalchemy/util.py +++ b/lib/sqlalchemy/util.py @@ -1355,10 +1355,7 @@ class memoized_instancemethod(object): return oneshot def reset_memoized(instance, name): - try: - del instance.__dict__[name] - except KeyError: - pass + instance.__dict__.pop(name, None) class WeakIdentityMapping(weakref.WeakKeyDictionary): """A WeakKeyDictionary with an object identity index. |