Larry Bates wrote:
>
> Remember that Python is so dynamic that you can build dependencies
> during program execution and import them on-the-fly. So a dependency
> checker would always be incomplete. You always need to write unit
> tests.
The Pychecker will usually see also missing on-the-fly im
Wow! Just ran pychecker on a couple of modules. I'm blown away by how
much information I'm getting. Thanks again!
--
http://mail.python.org/mailman/listinfo/python-list
Wow! Just ran pychecker on a couple of modules. I'm blown away by how
much information I'm getting. Thanks again!
--
http://mail.python.org/mailman/listinfo/python-list
John Machin wrote:
>
> This is called "testing". Yes, it could take a long time.
Thanks for the clarification. ;) Actually, I've done hellish amounts
of testing on these code pieces, which is why I don't want to have to
do it all over again just to check the imports.
>
> Consider pychecker an
On 22/04/2006 8:18 AM, mwt wrote:
> When I'm rewriting code (cutting and pasting pieces from earlier
> modules)
Instead of propagating multiple copies of source code, consider
refactoring those modules so that top-level functions and classes can be
used in other modules.
> is there a quick way
mwt wrote:
> When I'm rewriting code (cutting and pasting pieces from earlier
> modules), is there a quick way to determine if I have imported all the
> necessary modules? I am used to working in Java, where the compiler
> will tell you if you haven't imported everything, and also Eclipse,
> which
Actually, if you use the pydev extensions plugin for Eclipse (http://www.fabioz.com/pydev), it would make that analysis for you (and is actually quite fast).Cheers,
FabioOn 21 Apr 2006 15:18:05 -0700, mwt <[EMAIL PROTECTED]> wrote:
When I'm rewriting code (cutting and pasting pieces from earliermod
When I'm rewriting code (cutting and pasting pieces from earlier
modules), is there a quick way to determine if I have imported all the
necessary modules? I am used to working in Java, where the compiler
will tell you if you haven't imported everything, and also Eclipse,
which has the handy "organi