Maric Michaud: > I'd love str implement a xsplit(sub, start, end) method, so I could have > wrote : enumerate(s.xsplit(subs, 0, -1)).
Some of such str.x-methods (or str.i-methods, etc) can be useful (especially for Py3.0), but keeping APIs simple and compact is very important, otherwise when you program you have to waste some time looking things up in the manuals. Such lists of methods are a compromise between (among other things) completeness and compactness. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list