Comment 1 for bug 1308508

Revision history for this message
Luciano Ramalho (ramalho) wrote : Re: False positive F821 undefined name 'xxx'

Here is another false positive, for a not-so-subtle case:

Using flake8, which uses PyFlakes, I get the report:

board.py:14:19: F821 undefined name 'StandardError'

However, StandardError is a built-in exception in Python 2 (but not in Python 3).