I've spent hours trying to find a bug that was a simple spelling
mistake.

in an init method I declare a variable  self.someLongName

later in a different method of the class I use
self.sumLongName
Now I really meant self.someLongName.
In fact I don't want a variable called sumLongName.
Frankly how are you ever to know if this type of error is occuring?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to