2008/5/29 Davies Liu <davies.liu at gmail.com>: > just like: > > env.key = value > env.foo = bar exceptions.TypeError: 'DBEnv' object has only read-only attributes (assign to .foo) env['foo'] = bar exceptions.TypeError: 'DBEnv' object does not support item assignment