Re: suggestion for a small addition to the Python 3 list class

2013-04-21 Thread Terry Jan Reedy
On 4/21/2013 1:12 PM, Lele Gaifax wrote: "Robert Yacobellis" writes: I've noticed that the str join() method takes an iterable, Specifically, it takes an iterable of strings. Any iterable can be made such iwth map(str, iterable) or map(repr, iterble). >> so in the most general case I'm s

Re: suggestion for a small addition to the Python 3 list class

2013-04-21 Thread Steven D'Aprano
On Sun, 21 Apr 2013 09:09:20 -0500, Robert Yacobellis wrote: > Greetings, > > I'm an instructor of Computer Science at Loyola University, Chicago, and > I and Dr. Harrington (copied on this email) teach sections of COMP 150, > Introduction to Computing, using Python 3. One of the concepts we te

Re: suggestion for a small addition to the Python 3 list class

2013-04-21 Thread Lele Gaifax
"Robert Yacobellis" writes: > I've noticed that the str join() method takes an iterable, so in the > most general case I'm suggesting to add a join() method to every > Python-provided iterable (however, for split() vs. join() it would be > sufficient to just add a join() method to the list class)