[Python-Dev] Maintenance burden of str.swapcase

Simon Cross hodgestar+pythondev at gmail.com
Wed Sep 7 18:33:46 CEST 2011


On Wed, Sep 7, 2011 at 6:31 PM, Simon Cross
<hodgestar+pythondev at gmail.com> wrote:
> http://www.google.com/codesearch#search/&q=swapcase%20lang:%5Epython$&type=cs
>
> There are quite a few hits but more people appear to be
> re-implementing it than using it (I haven't gone to the trouble of
> mining the search results to get an accurate picture though).

Scratch that -- I should gloss over search results less. It looks like
the most common use case is to provide a consistent string-like API
somewhere else. So removing it is liking to cause headaches (e.g. test
failures) for the people who are wrapping it.


More information about the Python-Dev mailing list