[Python-Dev] partition() (was: Remove str.find in 3.0?)

Phillip J. Eby pje at telecommunity.com
Tue Aug 30 06:00:19 CEST 2005

At 10:33 PM 8/29/2005 -0500, LD \"Gus\" Landis wrote:
>   Re: multiples, etc...
>   Check out (and Pythonify) the ANSI M[UMPS] $PIECE(). See:
>   http://www.jacquardsystems.com/Examples/function/piece.htm
>   --ldl

As far as I can see, either you misunderstand what partition() does, or I'm 
completely misunderstanding what $PIECE does.  As far as I can tell, $PIECE 
and partition() have absolutely nothing in common except that they take 
strings as arguments.  :)

-1 on piece(), +1 for partition().

More information about the Python-Dev mailing list