ooici/pyon — pull request #86 by lukecampbell (2012-05-04 18:45:11+00:00)
Title: `DotDict` Extension

Adds extension to `DotDict`

Capabilities:
- Set attributes using Dot Notation
```
config = DotDict()
config.server_name = 'couch'
```

- Set attributes using chained Dot Notation
```
config = DotDict()
config.server.name = 'couch'
config.server.hostname = 'localhost'
config.server.port = '5984'
config.logging.verbose.failures = False
config.logging.verbose.exceptions = True
```

- Protection from overriding builtin methods
```
config = DotDict()
config.pop = 'Popped'
--> AttributeError: pop conflicts with builtin.
config.chained.attrs.pop = 'Popped'
--> AttributeError: pop conflicts with builtin.
```

- Unit Tests for new functionality