[Tutor] Aversion to features (was: converting list to string)
Michael P. Reilly
arcege@shore.net
Fri, 23 Mar 2001 14:48:33 -0500 (EST)
> If like some people you have an aversion to the <string =
> literal>.join(<list>) syntax,=20
> you can substitute:
>
> >>> import string=0D>>> x =3D string.join(x, '')=
It is not an aversion for some people, it is reality. String methods
is a feature that is only one release old, and at that, only six months
old. It is very likely that 90% of the interpreters out there are
going to be Python 1.5.2 and un-upgradable and will be for the next six
months; and as we found out here in this list, some people are still
using Python 1.4 (1.5.2 came out about two years ago, 1.5 about a year
before that).
Using compatible techniques won't confuse the newbies here; show the
new and the reality. As people move from 1.5 to 2.0, they will know
both. If in doubt, use the idioms that have been in the community
since the beginning.
-Arcege
--
------------------------------------------------------------------------
| Michael P. Reilly, Release Manager | Email: arcege@shore.net |
| Salem, Mass. USA 01970 | |
------------------------------------------------------------------------