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 Narendra L
Recipients Narendra L
Date 2018-02-05.11:07:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517828869.78.0.467229070634.issue32772@psf.upfronthosting.co.za>
In-reply-to
Content
Lstrip not working as expected when the string has "=e" in it.

Python 2.7.11 (default, Jan 22 2016, 08:28:37)

>>> test = "Cookie:  test-Debug=edttrace=expires=1517828996"
>>> test.lstrip('Cookie:  test-Debug=')
'dttrace=expires=1517828996'
History
Date User Action Args
2018-02-05 11:07:49Narendra Lsetrecipients: + Narendra L
2018-02-05 11:07:49Narendra Lsetmessageid: <1517828869.78.0.467229070634.issue32772@psf.upfronthosting.co.za>
2018-02-05 11:07:49Narendra Llinkissue32772 messages
2018-02-05 11:07:49Narendra Lcreate