On Fri, Aug 5, 2011 at 9:00 PM, kcrisman <kcris...@gmail.com> wrote: > >> > > But I don't know enough about the order that these things happen in, >> > > nor how to tell that from the C file, to trace it all out. Can >> > > someone give me a sense - or show me enough of how to do it so I can >> > > do it myself - how to track what's being done in complex_number. >> > > {pyx,c} so I can tell what modules to try debugging? The Pari stack >> > > is good in the whole of gen.pyx, and somehow has been corrupted by >> > > integer.pyx, so it would suffice to know what is imported between >> > > them. >> >> > You can add import hooks to print out whenever a module is imported. I >> > put a patch to do this up on trac, can't seem to locate it now. >> >> Oh, that would be wonderful for this! I don't even really know what a >> "hook" is, but I assume it would do what you say, which is just what I >> need. > > Is this the thread? > > http://groups.google.com/group/sage-devel/browse_thread/thread/70eb8b84095a7bb3/0b12f6755828b26d
Much older: http://trac.sagemath.org/sage_trac/attachment/ticket/4986/import-audit.patch -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org