[Python-Dev] Re: Prospective Peephole Transformation

Skip Montanaro skip at pobox.com
Fri Feb 18 17:03:28 CET 2005


    >> > Raymond then
    >> translated
    >> >
    >> >     for x in [1,2,3]:
    >> >
    >> > to
    >> >
    >> >     for x in frozenset([1,2,3]):

    Raymond> That's not right.  for-statements are not touched.

Thanks for the correction.  My apologies for the misstep.

Skip


More information about the Python-Dev mailing list