Simon Willison’s Weblog

Subscribe

2 items tagged “dictionaries”

2010

Python 2.7 Release. Includes three of my favourite features from Python 3: odicts, set literals and set and dictionary comprehensions.

# 4th July 2010, 11:21 pm / dictionaries, odict, python, python3, sets, recovered

2007

DictMixin. I wasn’t aware of this Python class (part of the UserDict module): lets you implement __get__, __set__, __del__ and keys() and provides the other dictionary methods for you.

# 17th August 2007, 10:34 am / dictionaries, dictmixin, ian-bicking, python, stdlib, userdict