Oh, thanks for letting me know and sorry for the trouble.
I should had read the docs more carefully. I have actually been using for a long while the strip methods as I had described in the bug report. I was so completely convinced about this that I didn't even thought about checking again the docs.
I have to fix my code but I am happy nonetheless as I was kind of 'losing my faith' in python after finding this.

Regards,
Alejandro


2009/2/19 Ezio Melotti <report@bugs.python.org>

Ezio Melotti <ezio.melotti@gmail.com> added the comment:

This is not a bug:
str.strip([chars])
 ... The chars argument is not a prefix or suffix; rather, all
combinations of its values are stripped: ...

http://docs.python.org/library/stdtypes.html#str.strip

----------
nosy: +ezio.melotti

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue5318>
_______________________________________