Python 2.6 dictionary builder notation
<p>I have 2 lists <code>'a','b','c'</code> and <code>1,2,3</code> and I zip them together to get a dict <code>{'a':1, 'b':2, 'c':3}</code>. I did the following successfully on Python 2.7: </p>

<pre><code>fields = ['a', 'b', 'c']
values = [1, 2, 3]
record = {key:value for key,value in zip(fields, values)}
</code></pre>

<p>But on Python 2.6.6, it gives me syntax error at the <code>for</code> on line 3. </p>

<p>Is it that the dictionary-builder notation is not supported in Python 2.6.6 ? </p>

<p>And if so, what is the alternative method of achieving the dict <code>{'a':1, 'b':2, 'c':3}</code> efficently?</p>