
Dec. 15, 2008
2:11 p.m.
Guido> We're not going to introduce backwards incompatibilities or Guido> deprecate existing usage of str.split() with or without arguments Guido> are we? As the OP, I long ago (in terms of number of posts on the topic) gave up on the thought that the str.split() API might change. Someone suggested this idiom: [elt for elt in s.split(",") if elt] which I will adopt (with a comment explaining why it's necessary). Skip