[Python-Dev] Re: Prospective Peephole Transformation

"Martin v. Löwis" martin at v.loewis.de
Sat Feb 19 11:47:13 CET 2005


Fredrik Lundh wrote:
> I'd say that this explains why it would still make sense to let the code generator change
> "x in (a, b, c)" to "x == a or x == b or x == c", as long as a, b, and c are all integers.

How often does that happen in real code?

Regards,
Martin


More information about the Python-Dev mailing list