diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-06-06 08:11:33 -0700 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-06-06 08:11:33 -0700 |
commit | b76f1bfae613e86d44f1f902f8db6ab19a5d4a81 (patch) | |
tree | 8a8a8969b604a86688a71c70ac2d0ec5ef0797c7 | |
parent | 39cfb630a796fe90f8464b56bbd49949e7724588 (diff) | |
download | pylint-git-b76f1bfae613e86d44f1f902f8db6ab19a5d4a81.tar.gz |
Prepare 1.9.2pylint-1.9.2
-rw-r--r-- | ChangeLog | 22 | ||||
-rw-r--r-- | pylint/__pkginfo__.py | 2 |
2 files changed, 19 insertions, 5 deletions
@@ -2,14 +2,28 @@ Pylint's ChangeLog ------------------ -What's New in Pylint 1.9.x? +What's New in Pylint 1.9.2? =========================== -Release date: +Release date: 2018-06-06 - * Fix `KeyError` raised when using docparams and NotImplementedError is -documented. + * Fix `KeyError` raised when using docparams and NotImplementedError is documented. + + * Don't include excepthandlers that don't have a name when looking for exception-escape + + * Rewrite the comprehension-escape and exception-escape to work only on the corresponding nodes + + These two checks were implemented in terms of visit_namne, that is, for every name in the tree, + we looked to see if that name leaked. This was resulting in a couple of false positives + and also in a performance issue, since we were calling nodes_of_class() and scope() for each + name node. Instead, this approach uses the visit methods for exception and comprehension nodes + and looks to see from there if the current scope uses leaked names. + This is not the ideal situation as well, ideal would be to have access to the definition + frame of each name, but that requires some extra engineering effort in astroid to get it right. + Close #2106 + + * builtins is allowed to redefine builtins. Close #1966 What's New in Pylint 1.9.1? diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 72b0ae1f2..9648516dd 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -27,7 +27,7 @@ from setuptools import __version__ as setuptools_version modname = distname = 'pylint' -numversion = (1, 9, 1) +numversion = (1, 9, 2) version = '.'.join([str(num) for num in numversion]) install_requires = [ |