On 31 Aug., 03:21, Benjamin Jones <[email protected]> wrote:
> On Wed, Aug 31, 2011 at 1:09 AM, Volker Braun <[email protected]> wrote:
> > +1 for any tool to reduce/simplify the number of imports. Everybody adds
> > imports if something is missing, but nobody takes out imports after
> > rewriting a module. Its not hard to find unused imports, as a random example
> > sage/rings/polynomial/polynomial_rational_flint.pyx imports is_Polynomial
> > but doesn't use it. But without manually searching around in the source code
> > its hard to find which imports are seldomly-used and hence good candidates
> > to move function/methods.
>
> Are there any tools for automating the process of finding out which imports
> aren't used in a large module?

See for example http://trac.sagemath.org/sage_trac/ticket/11749 (h/t
Robert B.).


-leif

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to