Argh!
I upgraded karmic, and now Do & Banshee are broken. :(
Hacking, Software Collaboration, Testing and Diverse Other Topics of General Interest to the Practicing Programmer
I finally got around to finishing my fix for Divmod bug #2718 -- Warn about unused variables in methods in pyflakes. Last night, the magnificent Jean-Paul Calderone reviewed and landed my patch. This means that if you are using pyflakes trunk (either from Subversion trunk or from the Launchpad Bazaar import), pyflakes will spot code like:
def foo(bar):and generate a warning like:
baz = bar + 2
return 12
example.py:2: local variable 'baz' is assigned to but never usedI use pyflakes hooked up to flymake, so it's always running all the time on every Python file I'm working on. Relying on it has become as second-nature as relying on syntax highlighting. There's a whole class of mistakes I don't make any more, simply because it's on.