Hello community,

here is the log from the commit of package python3-pylint for openSUSE:Factory 
checked in at 2016-04-22 16:23:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pylint (Old)
 and      /work/SRC/openSUSE:Factory/.python3-pylint.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-pylint"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pylint/python3-pylint.changes    
2016-01-26 10:15:20.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-pylint.new/python3-pylint.changes       
2016-04-22 16:23:26.000000000 +0200
@@ -1,0 +2,23 @@
+Sat Mar 26 03:55:09 UTC 2016 - [email protected]
+
+- update to version 1.5.5:
+  * Let visit_importfrom from Python 3 porting checker be called when
+    everything is disabled Because the visit method was filtering the
+    patterns it was expecting to be activated, it didn't run when
+    everything but one pattern was disabled, leading to spurious false
+    positives.  Close #852
+  * Don't emit unsubscriptable-value for classes with unknown base
+    classes.  Close #776.
+  * Use an OrderedDict for storing the configuration elements This
+    fixes an issue related to impredictible order of the disable /
+    enable elements from a config file. In certain cases, the disable
+    was coming before the enable which resulted in classes of errors
+    to be enabled, even though the intention was to disable them. The
+    best example for this was in the context of running multiple
+    processes, each one of it having different enables / disables that
+    affected the output.  Close #815
+  * Don't consider bare and broad except handlers as ignoring
+    NameError, AttributeError and similar exceptions, in the context
+    of checkers for these issues.  Closes issue #826
+
+-------------------------------------------------------------------

Old:
----
  pylint-1.5.4.tar.gz

New:
----
  pylint-1.5.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-pylint.spec ++++++
--- /var/tmp/diff_new_pack.FVrfYE/_old  2016-04-22 16:23:27.000000000 +0200
+++ /var/tmp/diff_new_pack.FVrfYE/_new  2016-04-22 16:23:27.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-pylint
-Version:        1.5.4
+Version:        1.5.5
 Release:        0
 Summary:        Syntax and style checker for Python code
 License:        GPL-2.0+

++++++ pylint-1.5.4.tar.gz -> pylint-1.5.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/ChangeLog new/pylint-1.5.5/ChangeLog
--- old/pylint-1.5.4/ChangeLog  2016-01-15 21:26:34.000000000 +0100
+++ new/pylint-1.5.5/ChangeLog  2016-03-21 19:33:22.000000000 +0100
@@ -1,9 +1,41 @@
 ChangeLog for Pylint
 --------------------
 
+2016-03-21 -- 1.5.5
+
+    * Let visit_importfrom from Python 3 porting checker be called when 
everything is disabled
+
+      Because the visit method was filtering the patterns it was expecting to 
be activated,
+      it didn't run when everything but one pattern was disabled, leading to 
spurious false 
+      positives
+
+      Close #852
+
+    * Don't emit unsubscriptable-value for classes with unknown
+      base classes.
+
+      Close #776.
+
+    * Use an OrderedDict for storing the configuration elements
+
+      This fixes an issue related to impredictible order of the disable / 
enable
+      elements from a config file. In certain cases, the disable was coming 
before
+      the enable which resulted in classes of errors to be enabled, even 
though the intention
+      was to disable them. The best example for this was in the context of 
running multiple
+      processes, each one of it having different enables / disables that 
affected the output.
+
+      Close #815
+
+    * Don't consider bare and broad except handlers as ignoring NameError,
+      AttributeError and similar exceptions, in the context of checkers for
+      these issues.
+
+      Closes issue #826
+
 
 2016-01-15 -- 1.5.4
 
+
     * Merge StringMethodChecker with StringFormatChecker. This fixes a
       bug where disabling all the messages and enabling only a handful of
       messages from the StringFormatChecker would have resulted in no
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/DEPENDS new/pylint-1.5.5/DEPENDS
--- old/pylint-1.5.4/DEPENDS    2016-01-15 16:54:20.000000000 +0100
+++ new/pylint-1.5.5/DEPENDS    2016-03-21 19:33:03.000000000 +0100
@@ -1,2 +1,2 @@
-python-astroid (>= 1.4.0)
+python-astroid (>= 1.4.5)
 python-tk
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/PKG-INFO new/pylint-1.5.5/PKG-INFO
--- old/pylint-1.5.4/PKG-INFO   2016-01-15 21:32:52.000000000 +0100
+++ new/pylint-1.5.5/PKG-INFO   2016-03-21 19:42:21.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pylint
-Version: 1.5.4
+Version: 1.5.5
 Summary: python code static checker
 Home-page: http://www.pylint.org
 Author: Logilab
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/__pkginfo__.py 
new/pylint-1.5.5/pylint/__pkginfo__.py
--- old/pylint-1.5.4/pylint/__pkginfo__.py      2016-01-15 21:26:42.000000000 
+0100
+++ new/pylint-1.5.5/pylint/__pkginfo__.py      2016-03-21 19:32:55.000000000 
+0100
@@ -23,11 +23,11 @@
 
 modname = distname = 'pylint'
 
-numversion = (1, 5, 4)
+numversion = (1, 5, 5)
 version = '.'.join([str(num) for num in numversion])
 
 install_requires = [
-    'astroid>=1.4.1,<1.5.0',
+    'astroid>=1.4.5,<1.5.0',
     'six',
 ]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/checkers/base.py 
new/pylint-1.5.5/pylint/checkers/base.py
--- old/pylint-1.5.4/pylint/checkers/base.py    2016-01-15 20:56:43.000000000 
+0100
+++ new/pylint-1.5.5/pylint/checkers/base.py    2016-03-18 19:06:48.000000000 
+0100
@@ -1695,10 +1695,10 @@
                       'Used when a function or a method has too many nested '
                       'blocks. This makes the code less understandable and '
                       'maintainable.'),
-            'R0102': ('The if statement can be reduced by %s',
+            'R0102': ('The if statement can be replaced with %s',
                       'simplifiable-if-statement',
-                      'Used when an if statement can be reduced to a boolean '
-                      'conversion of the statement\'s test. '),
+                      'Used when an if statement can be replaced with '
+                      '\'bool(test)\'. '),
            }
     options = (('max-nested-blocks',
                 {'default' : 5, 'type' : 'int', 'metavar' : '<int>',
@@ -1762,13 +1762,13 @@
                 return
             first_branch_is_bool = self._is_bool_const(first_branch)
             else_branch_is_bool = self._is_bool_const(else_branch)
-            reduced_to = "returning bool of test"
+            reduced_to = "'return bool(test)'"
         elif isinstance(first_branch, astroid.Assign):
             if not isinstance(else_branch, astroid.Assign):
                 return
             first_branch_is_bool = self._is_bool_const(first_branch)
             else_branch_is_bool = self._is_bool_const(else_branch)
-            reduced_to = "assigning bool of test"
+            reduced_to = "'var = bool(test)'"
         else:
             return
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/checkers/classes.py 
new/pylint-1.5.5/pylint/checkers/classes.py
--- old/pylint-1.5.4/pylint/checkers/classes.py 2016-01-15 16:54:29.000000000 
+0100
+++ new/pylint-1.5.5/pylint/checkers/classes.py 2016-03-18 19:06:48.000000000 
+0100
@@ -348,11 +348,6 @@
         self._first_attrs = []
         self._meth_could_be_func = None
 
-    @check_messages('no-init', 'invalid-slots', 'inherit-non-class',
-                    'inconsistent-mro', 'duplicate-bases',
-                    'invalid-slots', 'invalid-slots-object', 'abstract-method',
-                    'access-member-before-definition',
-                    'attribute-defined-outside-init')
     def visit_classdef(self, node):
         """init visit variable _accessed
         """
@@ -398,8 +393,6 @@
                 self.add_message('inherit-non-class',
                                  args=base.as_string(), node=node)
 
-    @check_messages('access-member-before-definition',
-                    'attribute-defined-outside-init')
     def leave_classdef(self, cnode):
         """close a class node:
         check that instance attributes are defined in __init__ and check
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/checkers/python3.py 
new/pylint-1.5.5/pylint/checkers/python3.py
--- old/pylint-1.5.4/pylint/checkers/python3.py 2015-12-24 17:12:25.000000000 
+0100
+++ new/pylint-1.5.5/pylint/checkers/python3.py 2016-03-18 03:09:34.000000000 
+0100
@@ -409,7 +409,6 @@
     def visit_print(self, node):
         self.add_message('print-statement', node=node)
 
-    @utils.check_messages('no-absolute-import', 'import-star-module-level')
     def visit_importfrom(self, node):
         if node.modname == '__future__':
             for name, _ in node.names:
@@ -418,10 +417,12 @@
                 elif name == 'absolute_import':
                     self._future_absolute_import = True
         elif not self._future_absolute_import:
-            self.add_message('no-absolute-import', node=node)
+            if self.linter.is_message_enabled('no-absolute-import'):
+                self.add_message('no-absolute-import', node=node)
         if node.names[0][0] == '*':
-            if not isinstance(node.scope(), astroid.Module):
-                self.add_message('import-star-module-level', node=node)
+            if self.linter.is_message_enabled('import-star-module-level'):
+                if not isinstance(node.scope(), astroid.Module):
+                    self.add_message('import-star-module-level', node=node)
 
     @utils.check_messages('no-absolute-import')
     def visit_import(self, node):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/checkers/strings.py 
new/pylint-1.5.5/pylint/checkers/strings.py
--- old/pylint-1.5.4/pylint/checkers/strings.py 2016-01-13 15:25:49.000000000 
+0100
+++ new/pylint-1.5.5/pylint/checkers/strings.py 2016-03-18 19:06:48.000000000 
+0100
@@ -61,7 +61,7 @@
     'W1301': ("Unused key %r in format string dictionary",
               "unused-format-string-key",
               "Used when a format string that uses named conversion specifiers 
\
-              is used with a dictionary that conWtains keys not required by 
the \
+              is used with a dictionary that contains keys not required by the 
\
               format string."),
     'E1304': ("Missing key %r in format string dictionary",
               "missing-format-string-key",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/checkers/utils.py 
new/pylint-1.5.5/pylint/checkers/utils.py
--- old/pylint-1.5.4/pylint/checkers/utils.py   2016-01-15 16:54:20.000000000 
+0100
+++ new/pylint-1.5.5/pylint/checkers/utils.py   2016-03-18 19:06:48.000000000 
+0100
@@ -459,6 +459,10 @@
     if not isinstance(error_type, tuple):
         error_type = (error_type, )
     expected_errors = {error.__name__ for error in error_type}
+    if not handler.type:
+        # bare except. While this indeed catches anything, if the desired 
errors
+        # aren't specified directly, then we just ignore it.
+        return False
     return handler.catch(expected_errors)
 
 
@@ -558,23 +562,16 @@
 
 
 def node_ignores_exception(node, exception):
-    """Check if the node is in a TryExcept which handles the given exception.
-
-    This will also return ``True`` if the node is protected by an `except 
Exception`
-    or by a bare except clause.
-    """
+    """Check if the node is in a TryExcept which handles the given 
exception."""
     current = node
     ignores = (astroid.ExceptHandler, astroid.TryExcept)
     while current and not isinstance(current.parent, ignores):
         current = current.parent
 
     func = functools.partial(error_of_type,
-                             error_type=(Exception, exception))
+                             error_type=(exception, ))
     if current and isinstance(current.parent, astroid.TryExcept):
-        handles_errors = any(map(func, current.parent.handlers))
-        empty_handlers = any(handler.type is None
-                             for handler in current.parent.handlers)
-        if handles_errors or empty_handlers:
+        if any(map(func, current.parent.handlers)):
             return True
     return False
 
@@ -694,7 +691,7 @@
 def supports_subscript(value):
     if isinstance(value, astroid.ClassDef):
         if not has_known_bases(value):
-            return False
+            return True
         meta = value.metaclass()
         if meta is not None and _supports_subscript_protocol(meta):
             return True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/checkers/variables.py 
new/pylint-1.5.5/pylint/checkers/variables.py
--- old/pylint-1.5.4/pylint/checkers/variables.py       2016-01-15 
16:54:20.000000000 +0100
+++ new/pylint-1.5.5/pylint/checkers/variables.py       2016-03-18 
19:06:48.000000000 +0100
@@ -372,6 +372,8 @@
                 continue
             if elt_name is astroid.YES:
                 continue
+            if not elt_name.parent:
+                continue
 
             if (not isinstance(elt_name, astroid.Const)
                     or not isinstance(elt_name.value, six.string_types)):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/config.py 
new/pylint-1.5.5/pylint/config.py
--- old/pylint-1.5.4/pylint/config.py   2016-01-15 16:54:20.000000000 +0100
+++ new/pylint-1.5.5/pylint/config.py   2016-03-18 19:06:48.000000000 +0100
@@ -26,6 +26,7 @@
 # need a cleanup. It could be completely reengineered as well.
 
 import contextlib
+import collections
 import copy
 import optparse
 import os
@@ -134,15 +135,7 @@
     """raised by set_option when it doesn't know what to do for an action"""
 
 
-def _choice_validator(optdict, name, value):
-    if value not in optdict['choices']:
-        msg = "option %s: invalid value: %r, should be in %s"
-        raise optparse.OptionValueError(msg % (name, value, 
optdict['choices']))
-    return value
-
-
-def _multiple_choice_validator(optdict, name, value):
-    choices = optdict['choices']
+def _multiple_choice_validator(choices, name, value):
     values = utils._check_csv(value)
     for value in values:
         if value not in choices:
@@ -151,6 +144,12 @@
     return values
 
 
+def _choice_validator(choices, name, value):
+    if value not in choices:
+        msg = "option %s: invalid value: %r, should be in %s"
+        raise optparse.OptionValueError(msg % (name, value, choices))
+    return value
+
 # pylint: disable=unused-argument
 def _csv_validator(_, name, value):
     return utils._check_csv(value)
@@ -180,8 +179,9 @@
     'regexp': re.compile,
     'csv': _csv_validator,
     'yn': _yn_validator,
-    'choice': _choice_validator,
-    'multiple_choice': _multiple_choice_validator,
+    'choice': lambda opt, name, value: _choice_validator(opt['choices'], name, 
value),
+    'multiple_choice': lambda opt, name, value: 
_multiple_choice_validator(opt['choices'],
+                                                                           
name, value),
 }
 
 def _call_validator(opttype, optdict, option, value):
@@ -249,6 +249,10 @@
         optparse.HelpFormatter.expand_default = orig_default
 
 
+def _multiple_choices_validating_option(opt, name, value):
+    return _multiple_choice_validator(opt.choices, name, value)
+
+
 class Option(optparse.Option):
     TYPES = optparse.Option.TYPES + ('regexp', 'csv', 'yn', 'multiple_choice')
     ATTRS = optparse.Option.ATTRS + ['hide', 'level']
@@ -256,7 +260,7 @@
     TYPE_CHECKER['regexp'] = _regexp_validator
     TYPE_CHECKER['csv'] = _csv_validator
     TYPE_CHECKER['yn'] = _yn_validator
-    TYPE_CHECKER['multiple_choice'] = _multiple_choice_validator
+    TYPE_CHECKER['multiple_choice'] = _multiple_choices_validating_option
 
     def __init__(self, *opts, **attrs):
         optparse.Option.__init__(self, *opts, **attrs)
@@ -434,7 +438,7 @@
         # list of registered options providers
         self.options_providers = []
         # dictionary associating option name to checker
-        self._all_options = {}
+        self._all_options = collections.OrderedDict()
         self._short_options = {}
         self._nocallback_options = {}
         self._mygroups = {}
@@ -637,7 +641,10 @@
 
     def load_configuration(self, **kwargs):
         """override configuration according to given parameters"""
-        for opt, opt_value in kwargs.items():
+        return self.load_configuration_from_config(kwargs)
+
+    def load_configuration_from_config(self, config):
+        for opt, opt_value in config.items():
             opt = opt.replace('_', '-')
             provider = self._all_options[opt]
             provider.set_option(opt, opt_value)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/lint.py 
new/pylint-1.5.5/pylint/lint.py
--- old/pylint-1.5.4/pylint/lint.py     2016-01-15 16:54:20.000000000 +0100
+++ new/pylint-1.5.5/pylint/lint.py     2016-03-18 19:06:48.000000000 +0100
@@ -226,7 +226,7 @@
             if self._plugins:
                 linter.load_plugin_modules(self._plugins)
 
-            linter.load_configuration(**self._config)
+            linter.load_configuration_from_config(self._config)
             linter.set_reporter(reporters.CollectingReporter())
 
             # Enable the Python 3 checker mode. This option is
@@ -341,7 +341,9 @@
                   'group': 'Messages control',
                   'help' : 'Enable the message, report, category or checker 
with the '
                            'given id(s). You can either give multiple 
identifier '
-                           'separated by comma (,) or put this option multiple 
time. '
+                           'separated by comma (,) or put this option multiple 
time '
+                           '(only on the command line, not in the 
configuration file '
+                           'where it should appear only once). '
                            'See also the "--disable" option for examples. '}),
 
                 ('disable',
@@ -737,7 +739,7 @@
                 self._parallel_check(files_or_modules)
 
     def _get_jobs_config(self):
-        child_config = {}
+        child_config = collections.OrderedDict()
         filter_options = {'symbols', 'include-ids', 'long-help'}
         filter_options.update((opt_name for opt_name, _ in 
self._external_opts))
         for opt_providers in six.itervalues(self._all_options):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/test/functional/import_error.py 
new/pylint-1.5.5/pylint/test/functional/import_error.py
--- old/pylint-1.5.4/pylint/test/functional/import_error.py     2015-12-24 
17:12:25.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/import_error.py     2016-03-06 
19:48:46.000000000 +0100
@@ -17,15 +17,6 @@
 except ValueError:
     maybe_missing_2 = None
 
-try:
-    import dont_emit
-except Exception:
-    pass
-
-try:
-    import please_dont_emit
-except:
-    pass
 
 try:
     if maybe_missing:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/test/functional/import_error.txt 
new/pylint-1.5.5/pylint/test/functional/import_error.txt
--- old/pylint-1.5.4/pylint/test/functional/import_error.txt    2015-12-24 
17:12:25.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/import_error.txt    2016-03-06 
19:48:46.000000000 +0100
@@ -1,3 +1,3 @@
 import-error:3::"Unable to import 'totally_missing'"
 import-error:16::"Unable to import 'maybe_missing_2'"
-import-error:36::"Unable to import 'functional.collections'"
+import-error:27::"Unable to import 'functional.collections'"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/test/functional/member_checks.py 
new/pylint-1.5.5/pylint/test/functional/member_checks.py
--- old/pylint-1.5.4/pylint/test/functional/member_checks.py    2016-01-15 
16:54:20.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/member_checks.py    2016-03-18 
19:06:48.000000000 +0100
@@ -94,16 +94,6 @@
     pass
 
 try:
-    Client().indeed()
-except Exception:
-    pass
-
-try:
-    Client().indeed()
-except:
-    pass
-
-try:
     Client().indeed() # [no-member]
 except ImportError:
     pass
@@ -131,7 +121,7 @@
     Client().indeed()
 except AttributeError:
     try:
-        Client.missing()
+        Client.missing() # [no-member]
     except Exception:
         pass
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.5.4/pylint/test/functional/member_checks.txt 
new/pylint-1.5.5/pylint/test/functional/member_checks.txt
--- old/pylint-1.5.4/pylint/test/functional/member_checks.txt   2016-01-15 
16:54:20.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/member_checks.txt   2016-03-18 
19:06:48.000000000 +0100
@@ -9,7 +9,7 @@
 no-member:65:Client.test_no_false_positives:Super of 'Client' has no 
'misssing' member:INFERENCE
 no-member:86::Instance of 'int' has no 'lower' member:INFERENCE_FAILURE
 no-member:97::Instance of 'Client' has no 'indeed' member:INFERENCE
-no-member:107::Instance of 'Client' has no 'indeed' member:INFERENCE
-no-member:114::Class 'Client' has no 'missing' member:INFERENCE
-no-member:120::Class 'Client' has no 'missing' member:INFERENCE
-no-member:181:NoDunderNameInInstance.__init__:Instance of 
'NoDunderNameInInstance' has no '__name__' member:INFERENCE
\ No newline at end of file
+no-member:104::Class 'Client' has no 'missing' member:INFERENCE
+no-member:110::Class 'Client' has no 'missing' member:INFERENCE
+no-member:124::Class 'Client' has no 'missing' member:INFERENCE
+no-member:171:NoDunderNameInInstance.__init__:Instance of 
'NoDunderNameInInstance' has no '__name__' member:INFERENCE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.5.4/pylint/test/functional/no_name_in_module.py 
new/pylint-1.5.5/pylint/test/functional/no_name_in_module.py
--- old/pylint-1.5.4/pylint/test/functional/no_name_in_module.py        
2015-12-24 17:12:25.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/no_name_in_module.py        
2016-03-06 19:48:46.000000000 +0100
@@ -46,18 +46,18 @@
     pass
 
 try:
-    import collections.dont_emit
+    import collections.emit # [no-name-in-module]
 except Exception:
     pass
 
 try:
-    import collections.please_dont_emit
+    import collections.emit1 # [no-name-in-module]
 except:
     pass
 
 try:
     if something:
-        import collections.please_dont_emit
+        import collections.emit2 # [no-name-in-module]
 except Exception:
     pass
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.5.4/pylint/test/functional/no_name_in_module.txt 
new/pylint-1.5.5/pylint/test/functional/no_name_in_module.txt
--- old/pylint-1.5.4/pylint/test/functional/no_name_in_module.txt       
2015-12-24 17:12:25.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/no_name_in_module.txt       
2016-03-06 19:48:46.000000000 +0100
@@ -9,5 +9,8 @@
 pointless-statement:26::Statement seems to have no effect
 no-name-in-module:34::No name 'anything' in module 'collections'
 no-name-in-module:44::No name 'indeed_missing' in module 'collections'
+no-name-in-module:49::No name 'emit' in module 'collections'
+no-name-in-module:54::No name 'emit1' in module 'collections'
+no-name-in-module:60::No name 'emit2' in module 'collections'
 no-name-in-module:65::No name 'lala' in module 'functional.no_self_use'
 no-name-in-module:66::No name 'bla' in module 'functional.no_self_use'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.5.4/pylint/test/functional/old_division_manually.py 
new/pylint-1.5.5/pylint/test/functional/old_division_manually.py
--- old/pylint-1.5.4/pylint/test/functional/old_division_manually.py    
1970-01-01 01:00:00.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/old_division_manually.py    
2016-03-18 03:09:34.000000000 +0100
@@ -0,0 +1,2 @@
+from __future__ import division
+print 1 / 3
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.5.4/pylint/test/functional/old_division_manually.rc 
new/pylint-1.5.5/pylint/test/functional/old_division_manually.rc
--- old/pylint-1.5.4/pylint/test/functional/old_division_manually.rc    
1970-01-01 01:00:00.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/old_division_manually.rc    
2016-03-18 03:09:34.000000000 +0100
@@ -0,0 +1,6 @@
+[testoptions]
+max_pyver=3.0
+
+[Messages Control]
+disable=all
+enable=old-division
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.5.4/pylint/test/functional/simplifiable_if_statement.txt 
new/pylint-1.5.5/pylint/test/functional/simplifiable_if_statement.txt
--- old/pylint-1.5.4/pylint/test/functional/simplifiable_if_statement.txt       
2015-12-24 17:12:25.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/simplifiable_if_statement.txt       
2016-03-08 11:25:33.000000000 +0100
@@ -1,4 +1,4 @@
-simplifiable-if-statement:8:test_simplifiable_1:The if statement can be 
reduced by returning bool of test
-simplifiable-if-statement:16:test_simplifiable_2:The if statement can be 
reduced by returning bool of test
-simplifiable-if-statement:24:test_simplifiable_3:The if statement can be 
reduced by assigning bool of test
-simplifiable-if-statement:35:test_simplifiable_4:The if statement can be 
reduced by returning bool of test
\ No newline at end of file
+simplifiable-if-statement:8:test_simplifiable_1:The if statement can be 
replaced with 'return bool(test)'
+simplifiable-if-statement:16:test_simplifiable_2:The if statement can be 
replaced with 'return bool(test)'
+simplifiable-if-statement:24:test_simplifiable_3:The if statement can be 
replaced with 'var = bool(test)'
+simplifiable-if-statement:35:test_simplifiable_4:The if statement can be 
replaced with 'return bool(test)'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.5.4/pylint/test/functional/undefined_variable.py 
new/pylint-1.5.5/pylint/test/functional/undefined_variable.py
--- old/pylint-1.5.4/pylint/test/functional/undefined_variable.py       
2015-12-24 17:12:25.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/undefined_variable.py       
2016-03-18 19:06:48.000000000 +0100
@@ -158,12 +158,12 @@
     pass
 
 try:
-    unicode_2
+    unicode_2 # [undefined-variable]
 except Exception:
     pass
 
 try:
-    unicode_3
+    unicode_3 # [undefined-variable]
 except:
     pass
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.5.4/pylint/test/functional/undefined_variable.txt 
new/pylint-1.5.5/pylint/test/functional/undefined_variable.txt
--- old/pylint-1.5.4/pylint/test/functional/undefined_variable.txt      
2015-12-24 17:12:25.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/undefined_variable.txt      
2016-03-06 19:48:46.000000000 +0100
@@ -19,4 +19,6 @@
 used-before-assignment:141:KeywordArgument.test1:Using variable 'enabled' 
before assignment
 undefined-variable:144:KeywordArgument.test2:Undefined variable 'disabled'
 undefined-variable:149:KeywordArgument.<lambda>:Undefined variable 'arg'
+undefined-variable:161::Undefined variable 'unicode_2'
+undefined-variable:166::Undefined variable 'unicode_3'
 undefined-variable:171::Undefined variable 'unicode_4'
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.5.4/pylint/test/functional/unsubscriptable_value_35.py 
new/pylint-1.5.5/pylint/test/functional/unsubscriptable_value_35.py
--- old/pylint-1.5.4/pylint/test/functional/unsubscriptable_value_35.py 
1970-01-01 01:00:00.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/unsubscriptable_value_35.py 
2016-03-18 19:06:48.000000000 +0100
@@ -0,0 +1,5 @@
+# pylint: disable=missing-docstring, invalid-name
+
+import typing
+
+val = typing.Sequence[int]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.5.4/pylint/test/functional/unsubscriptable_value_35.rc 
new/pylint-1.5.5/pylint/test/functional/unsubscriptable_value_35.rc
--- old/pylint-1.5.4/pylint/test/functional/unsubscriptable_value_35.rc 
1970-01-01 01:00:00.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/functional/unsubscriptable_value_35.rc 
2016-03-18 19:06:48.000000000 +0100
@@ -0,0 +1,2 @@
+[testoptions]
+min_pyver=3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/test/test_self.py 
new/pylint-1.5.5/pylint/test/test_self.py
--- old/pylint-1.5.4/pylint/test/test_self.py   2016-01-15 16:54:20.000000000 
+0100
+++ new/pylint-1.5.5/pylint/test/test_self.py   2016-03-18 19:06:48.000000000 
+0100
@@ -341,6 +341,11 @@
             self.assertEqual(message[key], value)
         self.assertTrue(message['message'].startswith("No module named"))
 
+    def test_confidence_levels(self):
+        expected = 'No config file found, using default configuration'
+        path = join(HERE, 'regrtest_data', 'meta.py')
+        self._test_output([path, "--confidence=HIGH,INFERENCE"],
+                          expected_output=expected)
 
 
 if __name__ == '__main__':
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.5.4/pylint/test/unittest_checker_variables.py 
new/pylint-1.5.5/pylint/test/unittest_checker_variables.py
--- old/pylint-1.5.4/pylint/test/unittest_checker_variables.py  2015-12-24 
17:12:26.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/unittest_checker_variables.py  2016-03-11 
19:05:17.000000000 +0100
@@ -38,6 +38,14 @@
         with self.assertNoMessages():
             self.checker.visit_importfrom(node)
 
+    def test_all_elements_without_parent(self):
+        node = test_utils.extract_node('__all__ = []')
+        node.value.elts.append(astroid.Const('test'))
+        root = node.root()
+        with self.assertNoMessages():
+            self.checker.visit_module(root)
+            self.checker.leave_module(root)
+
     @set_config(callbacks=('callback_', '_callback'))
     def test_custom_callback_string(self):
         """ Test the --calbacks option works. """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint/test/unittest_checkers_utils.py 
new/pylint-1.5.5/pylint/test/unittest_checkers_utils.py
--- old/pylint-1.5.4/pylint/test/unittest_checkers_utils.py     2016-01-15 
16:54:20.000000000 +0100
+++ new/pylint-1.5.5/pylint/test/unittest_checkers_utils.py     2016-03-18 
19:06:48.000000000 +0100
@@ -97,7 +97,7 @@
         self.assertTrue(utils.error_of_type(nodes[0], (AttributeError, )))
         self.assertFalse(utils.error_of_type(nodes[0], Exception))
         self.assertTrue(utils.error_of_type(nodes[1], Exception))
-        self.assertTrue(utils.error_of_type(nodes[2], ImportError))
+        self.assertFalse(utils.error_of_type(nodes[2], ImportError))
 
     def test_node_ignores_exception(self):
         nodes = test_utils.extract_node("""
@@ -110,7 +110,7 @@
         except Exception:
             pass
         try:
-            1/0 #@
+            2/0 #@
         except:
             pass
         try:
@@ -119,8 +119,8 @@
             pass
         """)
         self.assertTrue(utils.node_ignores_exception(nodes[0], 
ZeroDivisionError))
-        self.assertTrue(utils.node_ignores_exception(nodes[1], 
ZeroDivisionError))
-        self.assertTrue(utils.node_ignores_exception(nodes[2], 
ZeroDivisionError))
+        self.assertFalse(utils.node_ignores_exception(nodes[1], 
ZeroDivisionError))
+        self.assertFalse(utils.node_ignores_exception(nodes[2], 
ZeroDivisionError))
         self.assertFalse(utils.node_ignores_exception(nodes[3], 
ZeroDivisionError))
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint.egg-info/PKG-INFO 
new/pylint-1.5.5/pylint.egg-info/PKG-INFO
--- old/pylint-1.5.4/pylint.egg-info/PKG-INFO   2016-01-15 21:32:43.000000000 
+0100
+++ new/pylint-1.5.5/pylint.egg-info/PKG-INFO   2016-03-21 19:42:06.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pylint
-Version: 1.5.4
+Version: 1.5.5
 Summary: python code static checker
 Home-page: http://www.pylint.org
 Author: Logilab
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint.egg-info/SOURCES.txt 
new/pylint-1.5.5/pylint.egg-info/SOURCES.txt
--- old/pylint-1.5.4/pylint.egg-info/SOURCES.txt        2016-01-15 
21:32:43.000000000 +0100
+++ new/pylint-1.5.5/pylint.egg-info/SOURCES.txt        2016-03-21 
19:42:06.000000000 +0100
@@ -427,6 +427,8 @@
 pylint/test/functional/not_context_manager.txt
 pylint/test/functional/not_in_loop.py
 pylint/test/functional/not_in_loop.txt
+pylint/test/functional/old_division_manually.py
+pylint/test/functional/old_division_manually.rc
 pylint/test/functional/old_style_class_py27.py
 pylint/test/functional/old_style_class_py27.rc
 pylint/test/functional/old_style_class_py27.txt
@@ -573,6 +575,8 @@
 pylint/test/functional/unrecognized_inline_option.txt
 pylint/test/functional/unsubscriptable_value.py
 pylint/test/functional/unsubscriptable_value.txt
+pylint/test/functional/unsubscriptable_value_35.py
+pylint/test/functional/unsubscriptable_value_35.rc
 pylint/test/functional/unsupported_binary_operation.py
 pylint/test/functional/unsupported_binary_operation.rc
 pylint/test/functional/unsupported_binary_operation.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/pylint.egg-info/requires.txt 
new/pylint-1.5.5/pylint.egg-info/requires.txt
--- old/pylint-1.5.4/pylint.egg-info/requires.txt       2016-01-15 
21:32:43.000000000 +0100
+++ new/pylint-1.5.5/pylint.egg-info/requires.txt       2016-03-21 
19:42:06.000000000 +0100
@@ -1,3 +1,3 @@
-astroid>=1.4.1,<1.5.0
+astroid>=1.4.5,<1.5.0
 six
 colorama
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.5.4/setup.cfg new/pylint-1.5.5/setup.cfg
--- old/pylint-1.5.4/setup.cfg  2016-01-15 21:32:52.000000000 +0100
+++ new/pylint-1.5.5/setup.cfg  2016-03-21 19:42:21.000000000 +0100
@@ -6,7 +6,7 @@
 provides = pylint
 
 [egg_info]
-tag_date = 0
 tag_build = 
+tag_date = 0
 tag_svn_revision = 0
 


Reply via email to