Re: [sage-devel] Poll: deprecate backslash operator

2023-10-04 Thread Nils Bruin
On Wednesday, 4 October 2023 at 10:41:36 UTC-7 Thierry Dumont wrote:

In "Computational Mathematics with SageMath" we have some backslash... 


Indeed, I found on page 43 the example:

sage: 123 + \
: 345
468

which does not work presently. The first mention of "\" as an operator is 
on page 162, where it's given as a shorthand for solve_right in a table 
(with "/" as a shorthand of solve_left)
It also occurs on p168 (sect. 8.2.2) [twice] , p281, p283 (with 
explanation), p302 (in a summary table). Even in the sections where it is 
used, `\` is used much more often as a line continuation .

As far as the book is concerned, I think certainly fixing "\" to work as 
line continuation is definitely more important for its correctness, since 
that's used in much more places in the book (and also in all the chapters 
where `\` is used as an operator). In all the places except the summary 
table on p302, I saw the alternative solve_right spelling explicitly 
mentioned. So impact of deprecating the notation is rather limited. You 
could just add it to an errata/updates list.
 

-- 
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/5f938913-7a14-4ac0-b44f-5fea4aa53b5bn%40googlegroups.com.


Re: [sage-devel] Poll: deprecate backslash operator

2023-10-04 Thread John H Palmieri
Right. According to the Sage Developer's Guide, "Deprecated code can only 
be removed one year after the first stable release in which it appeared," 
so it will work for at least a year, and then someone would have to take 
further action to remove it completely.

On Wednesday, October 4, 2023 at 12:26:01 PM UTC-7 John Cremona wrote:

> I assume that deprecation means that for a year or so people can still use 
> the backslash but will see a deprecation warning. This could last for quite 
> a long time, so existing code would not immediately break.
>
> On Wed, 4 Oct 2023, 18:41 Thierry Dumont,  
> wrote:
>
>> In "Computational Mathematics with SageMath" we have some backslash...
>>
>> So, if we deprecate it, we will have problems with the doctests 
>> asociated,... and with the book.
>>
>> I don't like the backslash for solving linear systems, but even Julia 
>> has adopted it, probably for Matlab users...
>>
>> t.d.
>>
>> Le 01/10/2023 à 05:17, Nils Bruin a écrit :
>> > Deprecate please.
>> > 
>> > -- 
>> > 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+...@googlegroups.com 
>> > .
>> > To view this discussion on the web visit 
>> > 
>> https://groups.google.com/d/msgid/sage-devel/699f7d70-4222-4f64-8ce4-e606478377a9n%40googlegroups.com
>>  
>> <
>> https://groups.google.com/d/msgid/sage-devel/699f7d70-4222-4f64-8ce4-e606478377a9n%40googlegroups.com?utm_medium=email_source=footer
>> >.
>>
>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/90aec6f5-e47d-4981-941b-a7e909bcf518%40math.univ-lyon1.fr
>> .
>>
>

-- 
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/e1253d39-8856-4dae-b631-9e0c406293edn%40googlegroups.com.


Re: [sage-devel] Poll: deprecate backslash operator

2023-10-04 Thread John Cremona
I assume that deprecation means that for a year or so people can still use
the backslash but will see a deprecation warning. This could last for quite
a long time, so existing code would not immediately break.

On Wed, 4 Oct 2023, 18:41 Thierry Dumont, 
wrote:

> In "Computational Mathematics with SageMath" we have some backslash...
>
> So, if we deprecate it, we will have problems with the doctests
> asociated,... and with the book.
>
> I don't like the backslash for solving linear systems, but even Julia
> has adopted it, probably for Matlab users...
>
> t.d.
>
> Le 01/10/2023 à 05:17, Nils Bruin a écrit :
> > Deprecate please.
> >
> > --
> > 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/699f7d70-4222-4f64-8ce4-e606478377a9n%40googlegroups.com
> <
> https://groups.google.com/d/msgid/sage-devel/699f7d70-4222-4f64-8ce4-e606478377a9n%40googlegroups.com?utm_medium=email_source=footer
> >.
>
> --
> 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/90aec6f5-e47d-4981-941b-a7e909bcf518%40math.univ-lyon1.fr
> .
>

-- 
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/CAD0p0K7Gq5Uia0zz8DbXSRVAeKiM%2B8dDZHer7JNTgrjzwCt52A%40mail.gmail.com.


Re: [sage-devel] Poll: deprecate backslash operator

2023-10-04 Thread Thierry Dumont

In "Computational Mathematics with SageMath" we have some backslash...

So, if we deprecate it, we will have problems with the doctests 
asociated,... and with the book.


I don't like the backslash for solving linear systems, but even Julia 
has adopted it, probably for Matlab users...


t.d.

Le 01/10/2023 à 05:17, Nils Bruin a écrit :

Deprecate please.

--
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/699f7d70-4222-4f64-8ce4-e606478377a9n%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/90aec6f5-e47d-4981-941b-a7e909bcf518%40math.univ-lyon1.fr.