This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients Ultrasick, benjamin.peterson, rhettinger
Date 2010-08-28.20:02:49
SpamBayes Score 0.0046351487
Marked as misclassified No
Message-id <1283025771.5.0.421881327094.issue9705@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, the usual way to spell this in Python is:

 my_dict_1.update((k, my_dict_2[k]) for k in ['a', 'c'])

We try to keep filtering operations separate from map/fold operations for orthognality.
History
Date User Action Args
2010-08-28 20:02:51rhettingersetrecipients: + rhettinger, benjamin.peterson, Ultrasick
2010-08-28 20:02:51rhettingersetmessageid: <1283025771.5.0.421881327094.issue9705@psf.upfronthosting.co.za>
2010-08-28 20:02:50rhettingerlinkissue9705 messages
2010-08-28 20:02:49rhettingercreate