handle dict comprenhsion for py26