 Issue 29565854:
  Noissue - Improved accuracy of evaluated expressions for A103 and A207  (Closed)
    
  
    Issue 29565854:
  Noissue - Improved accuracy of evaluated expressions for A103 and A207  (Closed) 
  | Index: flake8-eyeo/flake8_eyeo.py | 
| =================================================================== | 
| --- a/flake8-eyeo/flake8_eyeo.py | 
| +++ b/flake8-eyeo/flake8_eyeo.py | 
| @@ -46,8 +46,9 @@ | 
| def evaluate(node): | 
| + names = {'__builtins__': {'True': True, 'False': False, 'None': None}} | 
| try: | 
| - return eval(compile(ast.Expression(node), '', 'eval'), {}) | 
| + return eval(compile(ast.Expression(node), '', 'eval'), names) | 
| except Exception: | 
| return VOLATILE |