Hello, It seems asyncio syntax is not considered for python 3.5. I couldn't find any reported issue regarding this
i.e. I'm on flake8 (2.4.1) with python 3.5.0. Just cloned https://github.com/dabeaz/curio.git and got this. pathcl@sid:~/src/curio$ flake8 ./curio/file.py Traceback (most recent call last): File "/home/pathcl/.pyenv/versions/3.5.0/bin/flake8", line 11, in <module> sys.exit(main()) File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/flake8/main.py", line 33, in main report = flake8_style.check_files() File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/pep8.py", line 1672, in check_files runner(path) File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/flake8/engine.py", line 95, in input_file return fchecker.check_all(expected=expected, line_offset=line_offset) File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/pep8.py", line 1412, in check_all self.check_ast() File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/pep8.py", line 1358, in check_ast checker = cls(tree, self.filename) File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/flake8/_pyflakes.py", line 43, in __init__ withDoctest=self.withDoctest) File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/pyflakes/checker.py", line 294, in __init__ self.handleChildren(tree) File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/pyflakes/checker.py", line 547, in handleChildren self.handleNode(node, tree) File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/pyflakes/checker.py", line 589, in handleNode handler(node) File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/pyflakes/checker.py", line 812, in CLASSDEF self.handleNode(stmt, node) File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/pyflakes/checker.py", line 588, in handleNode handler = self.getNodeHandler(node.__class__) File "/home/pathcl/.pyenv/versions/3.5.0/lib/python3.5/site-packages/pyflakes/checker.py", line 458, in getNodeHandler self._nodeHandlers[node_class] = handler = getattr(self, nodeType) AttributeError: 'FlakesChecker' object has no attribute 'ASYNCFUNCTIONDEF' What is going wrong? -- Luis San Martin R. User #333411 linuxcounter.net _______________________________________________ code-quality mailing list code-quality@python.org https://mail.python.org/mailman/listinfo/code-quality