flintwork/pep8-naming — pull request #11 by kdopen (2014-03-26 20:33:31+00:00)
Title: Adjust for changes in python 3.4 AST datastrutures

In py34, a FunctionDef object changed its underlying datastructures.

FunctionDef.args.kwarg.arg changed from a string to an instance of
_ast.arg. The same thing seems to have happened for the *.args and
*.vararg fields.

This commit adds a small version-aware method to the
FunctionArgNamesCheck class which safely extracts the actual
argument name.

This addresses issue #10