On Thursday, January 30, 2020 at 8:54:56 AM UTC-8, Ties Laarakker wrote: > > There's a probem with multiple substitutions in Sage 9.0. > > > > sage: var('x,y') > > (x, y) > > sage: (*1*/x)(x=*1*/y, y =*42*) > > 42 > > > That is indeed very strange an worrisome. For further diagnostics: this also happens with a straight "subs":
(1/x).subs({x:1/y, y:42}) This calls straight into Pynac, so a change there must have caused this (8.9 has the same problem). It seems to depend on the actual substitution: (1/x).subs({x:y,y:42}) works fine. This should definitely be filed as a bug and reported "upstream" (I'm not so sure pynac gets much usage outside sage). -- 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/271ee9f0-0ae6-40bb-8696-49777f3bb3ae%40googlegroups.com.