Rick> I think you're asking a lot from pychecker. Rick> kop = 1 Rick> koi = 2
Rick> if True: Rick> koo = 3 Rick> What would you like pychecker to report? I thing the OP was hoping for a "not used" error, but it can only reasonably do that within a function, which it does do: pyc.py:2: Local variable (kop) not used pyc.py:3: Local variable (koi) not used pyc.py:6: Local variable (koo) not used At the module level it doesn't know that the suspect object isn't accessed from another module. Skip -- http://mail.python.org/mailman/listinfo/python-list