circumstances could occur with the identity
map, part of [ticket:2148]
a deprecation warning in 0.6.8.
[ticket:2144]
+ - Fixed a potential KeyError which under some
+ circumstances could occur with the identity
+ map, part of [ticket:2148]
+
- added Query.with_session() method, switches
Query to use a different session.
self._manage_incoming_state(state)
def get(self, key, default=None):
- if not dict.__contains__(self, key):
+ state = dict.get(self, key, default)
+ if state is default:
return default
- state = dict.__getitem__(self, key)
o = state.obj()
if o is None:
o = state._is_really_none()