[issue12444] accept sets or collections for str.strip/lstrip/rstrip

2011-06-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: The docs are clear on this topic. No doc change can help someone who skips reading the docs and assumes the method does something different. -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue12444] accept sets or collections for str.strip/lstrip/rstrip

2011-06-30 Thread Éric Araujo
Éric Araujo added the comment: Agreed with Raymond. Is there some way the doc could be improved, or do we just close this report? -- nosy: +eric.araujo ___ Python tracker ___

[issue12444] accept sets or collections for str.strip/lstrip/rstrip

2011-06-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12444] accept sets or collections for str.strip/lstrip/rstrip

2011-06-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: -1 on complicating the API. The purported problem isn't pervasive enough to warrant a change (I frequently teach python classes and do code reviews and rarely encounter this issue). Also, the proposed change isn't going to help the people who are setting

[issue12444] accept sets or collections for str.strip/lstrip/rstrip

2011-06-29 Thread Peter Eisentraut
New submission from Peter Eisentraut : It appears to be a pretty common mistake to think that the argument of str.strip/lstrip/rstrip is a substring rather than a set of characters. To allow a more clearer notation, it would be nice if these functions also accepted an argument other than a st