Re: [sage-devel] Python3 and super()

2017-11-17 Thread Eric Gourgoulhon
Thanks Jeroen for your answer. Accordingly, I am keeping the Python-2 way. Best regards, Eric. -- 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] Re: Pattern matching in Sage

2017-11-17 Thread Eric Gourgoulhon
Le dimanche 12 novembre 2017 16:04:38 UTC+1, Eric Gourgoulhon a écrit : > > > Yes for sure, I will rewrite it using the expression tree walker, but in > another ticket. > This is now #24232 . This ticket rebases all simplifications in calculus on

[sage-devel] Re: Pattern matching in Sage

2017-11-17 Thread rjf
It includes this probably bad idea --- "Often, tree-walkers would prefer to see divisions instead of multiplications and negative exponents" which means that a programmer may have to write the same code twice. Example: Once for exp(-x) and once for 1/exp(x). or for 2^(-x), or even 2^n