Hello, The following behaviour in 6.5.rc0 breaks my interacts:
sage: def add_sphere(p): ....: p += sphere([1,1,1]) ....: print len(p.all) ....: sage: p = cube() +cube() sage: print len(p.all) 2 sage: add_sphere(p) 3 sage: print len(p.all) 2 i.e. p += ... in a function has no effect outside, while in 6.4 we have sage: def add_sphere(p): ....: p += sphere([1,1,1]) ....: print len(p.all) ....: sage: p = cube() +cube() sage: print len(p.all) 2 sage: add_sphere(p) 3 sage: print len(p.all) 3 Both ways make sense, but quietly changing behaviour is not so good. Was this change intentional? Thank you, Andrey P.S. I had to put cube+cube as an example since a single cube is a different object than their sum, not particularly convenient, although Volker argued that we should just get rid of these primitives in the global namespace all together. -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.