[Python-ideas] Deprecating rarely used str methods

Benjamin Peterson benjamin at python.org
Mon Aug 12 08:10:15 CEST 2013


Andrew Barnert <abarnert at ...> writes:

> 
> On Aug 11, 2013, at 20:32, Benjamin Peterson <benjamin <at> python.org> wrote:
> 
> > Serhiy Storchaka <storchaka <at> ...> writes:
> > 
> >> str.swapcase() is just not needed.
> > 
> > I would quite love to get rid of this method, since it's basically useless
> > and wrong on non-ASCII strings.
> 
> No it isn't.

I realize it "handles" non-ASCII characters, but I claim there is no
sensical behavior.





More information about the Python-ideas mailing list