[issue7196] Clarify str.split() behavior

2010-02-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Agreed. Thanks Jack. -- resolution: -> invalid status: open -> closed ___ Python tracker ___ __

[issue7196] Clarify str.split() behavior

2010-02-22 Thread Jack Diederich
Jack Diederich added the comment: I suggest this be closed WONTFIX. The str.split() documentation accurately describes str.split() but doesn't happen to do what the OP wanted which was list(filter(None, '00010001'.split('0'))) Instead split(sep) is the reciprocal of sep.join(), that is txt =

[issue7196] Clarify str.split() behavior

2009-10-23 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: georg.brandl -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue7196] Clarify str.split() behavior

2009-10-23 Thread Gabriel Genellina
New submission from Gabriel Genellina : Clarify str.split() behavior; see discussion at http:// comments.gmane.org/gmane.comp.python.general/641120 -- assignee: georg.brandl components: Documentation files: stdtypes.diff keywords: patch messages: 94401 nosy: gagenellina, georg.brandl sev