Re: How to Detect Use of Unassigned(Undefined) Variable(Function)

2009-11-30 Thread Marco Mariani
Jon Clements wrote: pychecker returns "test.py:3: No global (o) found" for the above, and can be found at http://pychecker.sourceforge.net/ There's also pylint and another one whose name I can't remember... pyflakes. I use that one -- http://mail.python.org/mailman/listinfo/python-list

Re: How to Detect Use of Unassigned(Undefined) Variable(Function)

2009-11-27 Thread ++imanshu
On Nov 27, 4:06 pm, Marco Mariani wrote: > Jon Clements wrote: > > pychecker returns "test.py:3: No global (o) found" for the above, and > > can be found athttp://pychecker.sourceforge.net/ > > > There's also pylint and another one whose name I can't remember... > > pyflakes. I use that one Thank

Re: How to Detect Use of Unassigned(Undefined) Variable(Function)

2009-11-27 Thread Jon Clements
On Nov 27, 10:36 am, "++imanshu" wrote: >     Is there a script/module to detect the use of unassigned > (undefined) variables(functions) in python. e.g. can I detect the > problem on line 3 automatically :- > > i = 1 > if i == 3: >     print o > print i > > Thank You, > ++imanshu pychecker retur

How to Detect Use of Unassigned(Undefined) Variable(Function)

2009-11-27 Thread ++imanshu
Is there a script/module to detect the use of unassigned (undefined) variables(functions) in python. e.g. can I detect the problem on line 3 automatically :- i = 1 if i == 3: print o print i Thank You, ++imanshu -- http://mail.python.org/mailman/listinfo/python-list