2 funny Py2.3 Issues: 'datetime', string.join()

Terry Reedy tjreedy at udel.edu
Tue Aug 19 21:35:41 EDT 2003


"Rami A. Kishek" <ramiak2000 at yahoo.com> wrote in message
news:3F42AB3D.F9B456F4 at yahoo.com...
> 1) I particular like how the Python 2 syntax has all the string
> functions as methods of the <str> object (so we don't have to import
> string.  However, wouldn't it make more sense if the "join" mehtod
> actually belonged to the List object, since it primarily operates on
> lists?

Go to
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.lang.python
and enter .join for at least 2 threads on this topic in last year.

Terry J. Reedy






More information about the Python-list mailing list