On Oct 28, 2006, at 3:18 AM, William Stein wrote:
> Moreover, if you use R['...'] notation anywhere in library code it > doesn't > affect the interpreter's variables at all -- it only affects the > scope where > R['...'] is used. I'm not sure if I totally believe this. Does it work correctly if someone types this from the ipython prompt: sage: S = ZZ['x'] sage: def f(): ... T = QQ['x'] sage: f() sage: parent(x) ??? i.e. is "x" being defined in the scope of f, or in global scope? i.e. does it have the same behaviour as sage: S.<x> = PolynomialRing(ZZ) sage: def f(): ... T.<x> = PolynomialRing(QQ) sage: f() sage: parent(x) Univariate Polynomial Ring in x over Integer Ring David --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---