Thomas Dybdahl Ahle <[EMAIL PROTECTED]> writes: > I tend to make a lot of mistakes of misspelled variable names.
You would greatly benefit from using tools like 'pyflakes', 'pylint', and a unit test suite for your code. They're very good for finding such simple bugs in your code. > Is it possible to make python warn me about those at "compile time"? The names are resolved at run time, so the compiler has insufficient information to say whether a name is used incorrectly. -- \ "Program testing can be a very effective way to show the | `\ presence of bugs, but is hopelessly inadequate for showing | _o__) their absence." -- Edsger Dijkstra | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list