On 06.11.12 21:00, Ned Batchelder wrote: > If someone really needs to control whether the keys or values > are evaluated first, they shouldn't use a dict literal. Not only a dict literal. >>> {print('foo'): print('bar') for x in [1]} bar foo {None: None}