Thanks for your efforts on this cleaning! We had these around for so
long (and no good reason).

Best
Vincent

On Mon, 24 Jun 2024 at 00:32, Matthias Koeppe <matthiaskoe...@gmail.com> wrote:
>
> On Tuesday, March 27, 2012 at 10:29:12 AM UTC-7 Starx wrote:
>
> This discussion stems from:
> http://groups.google.com/group/sage-devel/browse_thread/thread/979bdce4e002cd05/e8061b2ff21a4cdf?lnk=gst&q=is_AlgebraElement#e8061b2ff21a4cdf
>  [...]
>
> The is_functions (is_Integer, is_AlgebraElement, ect) are depreciated
> and have been for 4 years now. I think it's time some of them got
> deleted, but I'm not sure all of them should go.
>
> There are 260 functions defined in Sage of the form def is_Name(x)
> [...] 110 of them simply return isinstance(x, Name) [...]
>
> As for the other 150, some of them do the following:
>
> def is_Name(x)
> return isinstance(x, Name_something)
>
> I didn't check but I suspect that there is a factory called Name which
> is why the _whatever is there. [...]
>
> Finally there are some is_functions that return something slightly
> more complicated then a single isinstance, for example
>
> def is_PrimeFiniteField(x):
> some imports
> return isinstance(x, FiniteField_prime_modn) or \
> (isinstance(x, FiniteField_generic) and x.degree() == 1)
>
> [...] It seems to me that after 4 years they should either go or
> they shouldn't be depreciated.
>
>
> Another twelve years later, this is almost complete. 
> https://github.com/sagemath/sage/wiki/Sage-10.4-Release-Tour#deprecations
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/7905ca79-3c8c-4e79-9df0-3cc0c7e9858fn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAGEwAAkO%2BhK%3Du6aHLdzHd3mJkzrPvhwGE810MfXLu0QKY%2Bg_Dg%40mail.gmail.com.

Reply via email to