[issue32772] lstrip not working when string has =e in it
Narendra L
report at bugs.python.org
Mon Feb 5 06:19:09 EST 2018
Narendra L <naren.lg at gmail.com> added the comment:
If you see output dttrace.... e is missing
see working example
>>> test = "Cookie: test-Debug=edttrace=expires=1517828996"
>>> test.lstrip('Cookie: test-Debug=')
'dttrace=expires=1517828996'
# e missing here
>>> test = "Cookie: test-Debug=adttrace=expires=1517828996"
>>> test.lstrip('Cookie: test-Debug=')
'adttrace=expires=1517828996'
# Works correct here
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32772>
_______________________________________
More information about the Python-bugs-list
mailing list