Re: [sage-devel] globals

2010-01-13 Thread Nicolas M. Thiery
Hi Robert, Do you think you have time to review shortly #7776 (inject_variable)? It would be cool to have it and its dependent in sage 4.3.1. Thanks in advance! Nicolas -- Nicolas M. ThiƩry "Isil" http://Nicolas.Thiery.name/ -- To post to this group,

Re: [sage-devel] globals

2010-01-04 Thread Nicolas M. Thiery
On Wed, Dec 30, 2009 at 01:10:05AM -0800, Robert Bradshaw wrote: > > Does anyone know a trick to access the global variables for the "main" > > scope? > > > > In the attached patch (for 4.2; untested on 4.3), I am implementing > > the following in sage.misc.misc_c: > > > >def inject_variable(na

Re: [sage-devel] globals

2009-12-30 Thread Robert Bradshaw
On Dec 27, 2009, at 8:47 AM, Nicolas M. Thiery wrote: > Hi Robert B and all, > > Does anyone know a trick to access the global variables for the "main" > scope? > > In the attached patch (for 4.2; untested on 4.3), I am implementing > the following in sage.misc.misc_c: > >def inject_vari

[sage-devel] globals

2009-12-27 Thread Nicolas M. Thiery
Hi Robert B and all, Does anyone know a trick to access the global variables for the "main" scope? In the attached patch (for 4.2; untested on 4.3), I am implementing the following in sage.misc.misc_c: def inject_variable(name, value): """ sage: from sage.misc.mis