On PEP 322 (ireverse)

Paul Moore pf_moore at yahoo.co.uk
Wed Oct 29 13:40:00 EST 2003


"Raymond Hettinger" <vze4rx4y at verizon.net> writes:

> [Alex]
>> I still prefer Werner Schiendl's idea of iter.reversed, IF we find a
>> way to have builtin function iter grow a 'staticmethod' of sorts...!
>
> No thanks.  Yuck.  Please do not twist this simple idea into knots.

[...]

> This is a simplification, not an exercise in being cute
> or clever just to avoid a builtin.

Agreed. Keep it simple. For a name, I'd go for ireverse() if reverse()
is not possible. But not inreverse()...

Paul
-- 
This signature intentionally left blank




More information about the Python-list mailing list