On 31 Aug., 04:15, leif <not.rea...@online.de> wrote:
> On 31 Aug., 03:21, Benjamin Jones <benjaminfjo...@gmail.com> wrote:
> > Are there any tools for automating the process of finding out which imports
> > aren't used in a large module?
>
> See for examplehttp://trac.sagemath.org/sage_trac/ticket/11749(h/t
> Robert B.).

P.S.:

I've written a crude shell script which patches arbitrary Cython-
generated C/C++ code to print when a Cython module gets imported /
initialized, actually for debugging something else, but this can also
be used to see the order in which Cython modules get imported.
(Doesn't [yet] show when Python modules get imported though.)


-leif

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

Reply via email to