From 304ae035b9b5e42bb1eb65baecc58d5c9b5ab14d Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Mon, 30 Nov 2015 15:50:45 +0200 Subject: Fix a crash which occurred when old visit methods are encountered in plugin modules. If a plugin uses an old visit method (visit_class for instance), this can lead to a crash in pylint's base checkers, because the logic in the PylintASTWalker assumes that all checkers have a visit_class / leave_class method. The patch fixes this by looking for both names. Closes issue #711. --- ChangeLog | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e53e79c..f97a547 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,9 @@ ChangeLog for Pylint emitted when item deletion is tried on an object which doesn't have this ability. Closes issue #592. + * Fix a crash which occurred when old visit methods are encountered + in plugin modules. Closes issue #711. + * Added multiple warnings related to imports. 'wrong-import-order' is emitted when PEP 8 recommendations regarding imports are not respected (that is, standard imports should be followed by third-party -- cgit v1.2.1