Yes. On Fri, Mar 6, 2020 at 2:19 PM Steven D'Aprano <st...@pearwood.info> wrote:
> Can we just fix this? The lack of an obvious way to delete a prefix or > suffix is a continual pain point for users of the language. We've just > had yet another bug report from some poor user who misunderstood the > lstrip method: > > https://bugs.python.org/issue39880 > > More examples: > > https://bugs.python.org/issue37114 > https://bugs.python.org/issue36410 > https://bugs.python.org/issue32772 > https://bugs.python.org/issue25979 > > https://stackoverflow.com/questions/4148974/is-this-a-bug-in-python-2-7 > > https://stackoverflow.com/questions/34544247/understanding-pythons-lstrip-method-on-strings > > Obviously there will be a month of bike-shedding arguments about the > names *wink* but can we at least agree that this is a genuine source of > confusion and a useful addition to the string API? > > > > -- > Steven > _______________________________________________ > Python-ideas mailing list -- python-ideas@python.org > To unsubscribe send an email to python-ideas-le...@python.org > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/python-ideas@python.org/message/GRGAFIII3AX22K3N3KT7RB4DPBY3LPVG/ > Code of Conduct: http://python.org/psf/codeofconduct/ > -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/2EOMG7YHKRXB2OYY56EGH3GYFWVZUYRU/ Code of Conduct: http://python.org/psf/codeofconduct/