On 10/29/07, Simon King <[EMAIL PROTECTED]> wrote:
>
> Dear sage team,
>
> assume one has imported a dynamic module by 'from dynmod import *',
> and then changes dynmod.so.
>
> Is there a way to import the new version of 'dynmod' without to quit
> sage?

I don't think so.

The best you could do would be to rebuild dynmod.so with a different
name, e.g., dynmod2.so, then import that.   This is precisely what
happens automatically if you create a file foo.pyx then type

  sage: attach foo.pyx

and change foo.pyx and have it automatically recompile.

> Repeating 'from dynmod import *' doesn't replace the previously loaded
> version.

--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to