sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.32k stars 451 forks source link

Deprecate function fast_float #32268

Open mkoeppe opened 3 years ago

mkoeppe commented 3 years ago

Follow-up from #32234.

After #32234, sage.ext.fast_eval only contains the function fast_float, a thin wrapper around fast_callable.

We deprecate this module and switch all uses of fast_float to direct calls to fast_callable.

$ git grep -l fast_float
src/sage/all.py
src/sage/calculus/desolvers.py
src/sage/ext/fast_callable.pyx
src/sage/ext/fast_eval.pyx
src/sage/geometry/riemannian_manifolds/parametrized_surface3d.py
src/sage/interacts/library.py
src/sage/plot/plot.py
src/sage/plot/plot3d/implicit_surface.pyx
src/sage/rings/polynomial/multi_polynomial.pyx

Depends on #32234

CC: @orlitzky

Component: refactoring

Issue created by migration from https://trac.sagemath.org/ticket/32268

mkoeppe commented 3 years ago
comment:1

(Relevant discussion in #8450 comment:11)

mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -4,3 +4,16 @@

 We deprecate this module and switch all uses of `fast_float` to direct calls to `fast_callable`.

+```
+$ git grep -l fast_float
+src/sage/all.py
+src/sage/calculus/desolvers.py
+src/sage/ext/fast_callable.pyx
+src/sage/ext/fast_eval.pyx
+src/sage/geometry/riemannian_manifolds/parametrized_surface3d.py
+src/sage/interacts/library.py
+src/sage/plot/plot.py
+src/sage/plot/plot3d/implicit_surface.pyx
+src/sage/rings/polynomial/multi_polynomial.pyx
+```
+