Comment 3 for bug 872503

Revision history for this message
Andrew Schein (ato2g-andrew) wrote : Re: Pyflakes is unable to recognize string substitution as a use

Is Pyflakes goal to be correct every time it points out an error? Or to not miss errors within predefined categories?

In the current behavior, Pyflakes flags "used" variables as "unused". If the user replaces locals() with their own function definition they will not get an error. Assuming that locals() refers to the builtin will produce a "sound" error-finder as defined
http://en.wikipedia.org/wiki/Soundness