Hi Robert!
On Wed, Mar 06, 2013 at 12:49:41AM -0800, Robert Bradshaw wrote:
> Could you try running this with sage -gdb?
I should have done this right from the beginning. This is definitely
an infinite recursion:
#61576 0x00007fffe7debc23 in
__pyx_pf_4sage_4misc_11lazy_import_10LazyImport_16__repr__
(__pyx_v_self=<optimized out>) at sage/misc/lazy_import.c:2073
#61577 __pyx_pw_4sage_4misc_11lazy_import_10LazyImport_17__repr__
(__pyx_v_self=<optimized out>) at sage/misc/lazy_import.c:2040
#61578 0x00007ffff7a8b970 in PyObject_Repr (v=<sage.misc.lazy_import.LazyImport
at remote 0x4f0c7d0>) at Objects/object.c:381
#61579 0x00007fffe7debc23 in
__pyx_pf_4sage_4misc_11lazy_import_10LazyImport_16__repr__
(__pyx_v_self=<optimized out>) at sage/misc/lazy_import.c:2073
#61580 __pyx_pw_4sage_4misc_11lazy_import_10LazyImport_17__repr__
(__pyx_v_self=<optimized out>) at sage/misc/lazy_import.c:2040
#61581 0x00007ffff7a8b970 in PyObject_Repr (v=<sage.misc.lazy_import.LazyImport
at remote 0x4f0c7d0>) at Objects/object.c:381
You can reproduce it with the attached mini example of what I was
trying to achieve:
mistral> tar xf blah.tgz
mistral> sage
...
sage: import blah
sage: blah.foo
/opt/sage/sage : ligne 135 : 6000 Erreur de segmentation (core dumped)
"$SAGE_ROOT/spkg/bin/sage" "$@"
> > - Would it be easy to allow for lazy importing modules?
> ...
>
> I don't see any reason why this shouldn't be possible (in fact rather
> easy) to support.
Looking forward to it :-)
Thanks!
Cheers,
Nicolas
--
Nicolas M. ThiƩry "Isil" <[email protected]>
http://Nicolas.Thiery.name/
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.