Miki wrote:
Hello,
In module one, I have a function:
def foo( host, userid, password ):
pass
In module two, I call that function:
foo( userid, password)
lint doesn't find that error and it won't be caught until it's called
while the program is running.
pychecker does find these kind of errors.
Before posting my original question, I tried pychecker and it didn't
catch that error.
I've never used a language that didn't catch that type of error. I'm
quite surprised that Python is being used by a number of major
companies. How you catch these types of errors?
By running a large test suite, I highly recommend "nose".
That's something I'll look into after I'm more proficient in Python.
Currently, I'm learning my way around Python.
Thank you.
HTH,
--
Miki <[EMAIL PROTECTED]>
http://pythonwise.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list