Re: [sage-devel] Re: is ZZ(None) == 0 intentional?

2020-12-29 Thread 'Travis Scrimshaw' via sage-devel
As William pointed out, this is not a coercion but a conversion. You should not be able to do, e.g., 1 + None. The containment check is a bit interesting, but True and False are much closer to 1 and 0, respectively, than None is to 0. Note that 1 + False works and gives 1. This is behavior I su

[sage-devel] Re: Bug in hom

2020-12-29 Thread 'Travis Scrimshaw' via sage-devel
If we just fix the bug in the corresponding Homspace's __call__method to make sure the domains match by pre/postcomposing using the appropriate coercion maps when the objects are equal-but-not-identical, then it will fix the problem because things would be described in terms of the same basis.

[sage-devel] Away until the 4th of January

2020-12-29 Thread François Bissey
Hi all, This is the time of the year where I go for a few days of internet detox. No reviews or contributions from me until next Monday. Cheers, François -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop rec