From b7f934de0d5ded5a120685d92ae07c2eb54b9ff1 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Sun, 6 Dec 2015 18:41:34 +0200 Subject: Added a new error, 'relative-beyond-top-level'. This is emitted when a relative import was attempted beyond the top level package. For instance, if a package has X levels, trying to climb X + n levels with a relative import, as in `from ..stuff import Stuff`, will result in an error. Closes issue #588. --- ChangeLog | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 082c558..c9410a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,10 +2,16 @@ ChangeLog for Pylint -------------------- -- - * Accept only functions and methods for the deprecated-method checker. + + * Added a new error, 'relative-beyond-top-level', which is emitted + when a relative import was attempted beyond the top level package. - This prevents a crash which can occur when an object doesn't have - .qname() method after the inference. + Closes issue #588. + + * Accept only functions and methods for the deprecated-method checker. + + This prevents a crash which can occur when an object doesn't have + .qname() method after the inference. * Don't emit super-on-old-class on classes with unknown bases. Closes issue #721. -- cgit v1.2.1