[Python-Dev] partition()

Stephen J. Turnbull stephen at xemacs.org
Tue Aug 30 04:37:53 CEST 2005


>>>>> "Raymond" == Raymond Hettinger <raymond.hettinger at verizon.net> writes:

 Raymond> FWIW, I am VERY happy with the name partition().
 Raymond> ... [I]t is exactly the right word. I won't part with it
 Raymond> easily.
+1
I note that Emacs has a split-string function which does not have
those happy properties. In particular it never preserves the
separator, and (by default) it discards empty strings.
 Raymond> It has a long and delightful history in conjunction with
 Raymond> the quicksort algorithm
Now, that is a delightful mnemonic!
-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
 Ask not how you can "do" free software business;
 ask what your business can "do for" free software.


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /