session object does not resemble python mapping type
Brought to you by:
zzzeek
The session object as returned by m.get_session() does
not support basic python mapping type methods as
specified in http://www.python.org/doc/2.4.1/lib/
typesmapping.html .
Especially the methods get and setdefault would be
useful. Shouldn't be too hard to fix this, thanks.
Logged In: YES
user_id=1100624
checked into CVS and attached as a patch against 0.98a,
Session subclasses DictMixin to provide dict methods + adds
iteritems() method
patch for session.py against 0.98a