dict comprehension for py26