I believe this comes up in the assignment of class variables in the Check class in checker.py. SET is not there, at least as of 0.4, and this may be related to the fact that PyFlakes does not support the AST for Python 2.7, as seen in constructs like dict comprehensions (with the DICTCOMP attribute), which raised the same AttributeError.
You can reproduce this error readily by running pyflakes on Ensemble source on trunk r321. Short discussion with respect to Ensemble in bug 829734. -- You received this bug notification because you are a member of Divmod- dev, which is the registrant for Pyflakes. https://bugs.launchpad.net/bugs/767570 Title: pyflakes crashed with AttributeError in handleNode(): 'Checker' object has no attribute 'SET' Status in Pyflakes: New Status in “pyflakes” package in Ubuntu: Incomplete Bug description: Binary package hint: pyflakes Just editing some file ProblemType: Crash DistroRelease: Ubuntu 11.04 Package: pyflakes 0.4.0-1 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 Architecture: amd64 Date: Wed Apr 20 22:17:49 2011 ExecutablePath: /usr/bin/pyflakes InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413) InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all ProcCmdline: /usr/bin/python /usr/bin/pyflakes models_mongo_flymake.py ProcEnviron: SHELL=/bin/bash LANG=ru_UA.UTF-8 PATH=(custom, user) LANGUAGE=ru_UA:en PythonArgs: ['/usr/bin/pyflakes', 'models_mongo_flymake.py'] SourcePackage: pyflakes Title: pyflakes crashed with AttributeError in handleNode(): 'Checker' object has no attribute 'SET' UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare To manage notifications about this bug go to: https://bugs.launchpad.net/pyflakes/+bug/767570/+subscriptions -- Mailing list: https://launchpad.net/~divmod-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~divmod-dev More help : https://help.launchpad.net/ListHelp

