[Python-ideas] Deprecate str.find

Terry Reedy tjreedy at udel.edu
Sat Jul 16 21:26:46 CEST 2011


On 7/16/2011 2:43 PM, Ronny Pfannschmidt wrote:
>
> Since a DeprecationWarning seems rather intrusive,
> what would be a less intrusive way to cause code-enhancement in such
> places?

A PendingDeprecationWarning, which I believe would be off by default, 
and which could be left as such for several versions.

-- 
Terry Jan Reedy




More information about the Python-ideas mailing list