embedly/embedly-python — pull request #6 by janr (2012-03-13 15:43:24+00:00)
Title: Fixed a bug in model.AttrDict and model.Url

The default data dict was being instatiated only once - when the
class is defined - instead of each time the __init__ method is called.
See:
http://effbot.org/zone/default-values.htm

The bug in models.Url can be seen below:

```python
>>> u = embedly.models.Url()
>>> w = embedly.models.Url()
>>> u.m = 1
>>> u.m
1
>>> w.m
1
```

Since there is only one default data dictionary, changes to u are also seen in w.