[Numpy-discussion] Deprecate unused but exposed C-API functions
sebastian at sipsolutions.net
Fri Jan 24 20:04:16 EST 2020
On Fri, 2020-01-24 at 17:56 -0700, Charles R Harris wrote:
> On Fri, Jan 24, 2020 at 11:29 AM Sebastian Berg <
> sebastian at sipsolutions.net> wrote:
> > Hi all,
> > My idea is to add the deprecation warning now, and if nobody
> > notices it
> > remove them as soon as 1.19 is released.
> I don't think C-API functions should be removed. Deprecation is fine,
> but removal changes the customary order of the functions. If they
> cost nothing to maintain, just leave them alone with a
> note/documentation that there are preferable alternatives.
To be clear: removal in this sense for me would mean that they exist as
a stub which always raises an error.
In principle they could be set to NULL as well, but I think the always-
error solution is just as good probably.
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: This is a digitally signed message part
More information about the NumPy-Discussion