[SciPy-Dev] Mea culpa: deprecation and API changes
Warren Weckesser
warren.weckesser at enthought.com
Mon May 31 20:11:32 EDT 2010
Charles R Harris wrote:
>
>
> On Mon, May 31, 2010 at 5:49 PM, Warren Weckesser
> <warren.weckesser at enthought.com
> <mailto:warren.weckesser at enthought.com>> wrote:
>
> Opinion wanted: codata.find(sub) used to print a list of strings. A
> while ago, in response to
> http://projects.scipy.org/scipy/ticket/996, I
> changed it to return the list of strings. But this is an API change,
> and should follow the deprecation policy. One way to do this is to
> restore find() to its previous behavior, and deprecate the
> function. At
> the same time, add a new function, find_string(sub), which returns the
> list of strings. What do you think?
>
>
> I wouldn't worry about this one, both have the effect of printing out
> on the screen. Where is the absolute error though?
>
Well, I will worry about it, just not very much. Think of it as an
exercise in the proper implementation of the deprecation policy--a tiny
case study. Trivial, but with educational value. :)
What do you mean by "the absolute error"?
Warren
> Chuck
> ------------------------------------------------------------------------
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
More information about the SciPy-Dev
mailing list