[Python-ideas] Lessons learned from an API design mistake [was New explicit methods to trim strings]