Author pitrou
Recipients SzieberthAdam, pitrou
Date 2014-10-31.14:58:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It may be unexpected, but it's not a bug. From the documentation:

"""Return a copy of the string with trailing characters removed. The chars argument is a string specifying the set of characters to be removed. If omitted or None, the chars argument defaults to removing whitespace. **The chars argument is not a suffix; rather, all combinations of its values are stripped**.""" (emphasis mine)

(if you wonder why that is, think about e.g. the use case of stripping certain whitespace characters: s.rstrip(" \t"))
Date User Action Args
2014-10-31 14:58:35pitrousetrecipients: + pitrou, SzieberthAdam
2014-10-31 14:58:35pitrousetmessageid: <>
2014-10-31 14:58:35pitroulinkissue22774 messages
2014-10-31 14:58:35pitroucreate