dict generator does not work for python 2.6
dict generator does not work for python 2.6

duplicated with pull request #626

https://www.python.org/dev/peps/pep-0274/#semantics

```
The semantics of dict comprehensions can actually be demonstrated in stock Python 2.2, by passing a list comprehension to the built-in dictionary constructor:

>>> dict([(i, chr(65+i)) for i in range(4)])
is semantically equivalent to:

>>> {i : chr(65+i) for i in range(4)}
```
skbkontur/Diamond,skbkontur/Diamond,tusharmakkar08/Diamond,MichaelDoyle/Diamond,tusharmakkar08/Diamond,python-diamond/Diamond,python-diamond/Diamond,skbkontur/Diamond,MichaelDoyle/Diamond,tusharmakkar08/Diamond,python-diamond/Diamond,skbkontur/Diamond,tusharmakkar08/Diamond,MichaelDoyle/Diamond,MichaelDoyle/Diamond