This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SzieberthAdam
Recipients SzieberthAdam
Date 2014-10-31.14:25:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414765509.86.0.0341092418093.issue22774@psf.upfronthosting.co.za>
In-reply-to
Content
I just faced the following bug (v3.4.2):

>>> t1 = '#5 amarg (Concession)'
>>> t2 = '#6 ironman (Concession)'
>>> s = ' (Concession)'
>>> t1.rstrip(s)
'#5 amarg'
>>> t2.rstrip(s)
'#6 ironma'
>>> t1[:-len(s)]
'#5 amarg'
>>> t2[:-len(s)]
'#6 ironman'
History
Date User Action Args
2014-10-31 14:25:09SzieberthAdamsetrecipients: + SzieberthAdam
2014-10-31 14:25:09SzieberthAdamsetmessageid: <1414765509.86.0.0341092418093.issue22774@psf.upfronthosting.co.za>
2014-10-31 14:25:09SzieberthAdamlinkissue22774 messages
2014-10-31 14:25:09SzieberthAdamcreate