Anybody seen a misspelled variable name finder tool?

beliavsky@aol.com beliavsky at 127.0.0.1
Fri Jun 4 01:04:53 CEST 2004


"Robert Oschler" <no_replies at fake_email_address.invalid> wrote:
>One of the recurring bugs I find in my program, is a bug due to a
>misspelling of a variable name.  Is there a code checker out there that
can
>help find these critters?  If so, URL's please.

Pychecker can find misspelled variables in functions. For the code

def twice(x):
    return 2*xx

It produces the warnings

1: Parameter (x) not used
2: No global (xx) found

Pychecker is not much help in finding misspelled variables in your main program,
compared to just running the program.

See http://pychecker.sourceforge.net/ .



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---



More information about the Python-list mailing list