Anthony Greene <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
> Howdy, I had the impression that pychecker caught and reported such > dynamic syntactical errors. > > #!/usr/bin/env python > > > def add(i): > i += 10 > > status = 3 > > if 1 == 1: > statuss = 15 > > add(status) > > ======================= > > exalted sysfault$ pychecker foo.py > Processing foo... > > Warnings... > > None > > ======================= > > Hence the mispelling of status (statuss), which was done purposely to > test if pychecker will acknowledge and report the error. Do i need to > enable some type of pychecker option in order for it to pick up the > error? I know that it is syntactically correct in python, however it's > likely that 'status' is meant. Am i wishing that pychecker will > replace a statically typed language mechanism? > I think you're asking a lot from pychecker. kop = 1 koi = 2 if True: koo = 3 What would you like pychecker to report? -- rzed -- http://mail.python.org/mailman/listinfo/python-list