On 03/06/2020 02:59 PM, Guido van Rossum wrote:
On Fri, Mar 6, 2020 at 2:19 PM Steven D'Aprano wrote:
Can we just fix this?
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?
Yes.
Excellent.
I think we should have a `stripstr()` as an alias for strip, and a new
`stripchr()`.
And I'm perfectly okay with bytes() not having those methods. ;-)
--
~Ethan~
_______________________________________________
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/E6NRCCKQEL2FTEYOUKJW73WRLYLU5ITB/
Code of Conduct: http://python.org/psf/codeofconduct/