dict from generator works with py2.5