[issue39607] Add a parameter to strip, lstrip, and rstrip that treats the first parameter as a full string

Steven D'Aprano report at bugs.python.org
Tue Feb 11 07:32:18 EST 2020


Steven D'Aprano <steve+python at pearwood.info> added the comment:

This has been discussed not long ago, it seems like it will need a PEP. See Brett's comment:

https://mail.python.org/archives/list/python-dev@python.org/message/BDK6BDBOG2462SJIIOC5QMYPAJ5A4523/

and various discussions:

https://mail.python.org/archives/list/python-dev@python.org/message/ZWRGCGANHGVDPP44VQKRIYOYX7LNVDVG/

https://mail.python.org/archives/list/python-ideas@python.org/thread/RJARZSUKCXRJIP42Z2YBBAEN5XA7KEC3/#WIRID57ESUFUAQQQ6ZUY2RK5PKQQYSJ3

----------
nosy: +steven.daprano

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


More information about the Python-bugs-list mailing list