[Python-Dev] New Features in Python 1.6

gvwilson@nevex.com gvwilson@nevex.com
Sat, 1 Apr 2000 13:01:13 -0500 (EST)


> On Sat, 1 Apr 2000, Guido van Rossum wrote:
> New Features in Python 1.6
> ==========================
> [lots 'n' lots]
>     tokens = "foo bar baz".split(" ")
>     tokens = " ".split("foo bar baz")

Has anyone started working up a style guide that'll recommend when to use
these new methods, when to use the string module's calls, etc.?  Ditto for
the other changes --- where there are now two or more ways of doing
something, how do I (or my students) tell which one is preferred?

Greg

p.s. "There's More Than One Way To Do It" == "No Matter How Much Of This
Language You Learn, Other People's Code Will Always Look Strange"