[New-bugs-announce] [issue32772] lstrip not working when string has =e in it

Narendra L report at bugs.python.org
Mon Feb 5 06:07:49 EST 2018


New submission from Narendra L <naren.lg at gmail.com>:

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'

----------
components: Library (Lib)
messages: 311659
nosy: Narendra L
priority: normal
severity: normal
status: open
title: lstrip not working when string has =e in it
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32772>
_______________________________________


More information about the New-bugs-announce mailing list