simple program to prevent from exceptions

F

Francesco

Hello,

I know pychecker, but is there a simpler program, which checks
my source, in such a way, that it makes me attentive,
if possible exception can occur.

I think for example of using a varible, without setted before.

thank you,
 
I

Irmen de Jong

Francesco wrote:

I know pychecker, but is there a simpler program,
[...]

What's difficult about pychecker?
I think for example of using a varible, without setted before.

Because of Python's highly dynamic nature, these sort
of static code checking is generally very hard to do.

Personally, I stick with Pychecker, fix the things it
bitches about, and other errors will be caught by
testing soon enough.

--Irmen
 
F

Francesco

Hello Irmen.
I know pychecker, but is there a simpler program,
[...]

What's difficult about pychecker?

If I use pychecker in boa constructor, it takes sometimes several
minutes, before I get any result. But maybe this could be, that I have
switched on too many options.
Because of Python's highly dynamic nature, these sort
of static code checking is generally very hard to do.

I feared so :)
Personally, I stick with Pychecker, fix the things it
bitches about, and other errors will be caught by
testing soon enough.

yes you'r right; it was only a little idea
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,170
Messages
2,570,925
Members
47,468
Latest member
Fannie44U3

Latest Threads

Top