Debian Codegraph @

doc/whatsnew/1/1.9/full.rst

raw
1 Full changelog
2 ==============
3
4 What's New in Pylint 1.9?
5 -------------------------
6
7 Release date: 2018-05-15
8
9 * Added two new Python 3 porting checks, ``exception-escape`` and ``comprehension-escape``
10
11 These two are emitted whenever pylint detects that a variable defined in the
12 said blocks is used outside of the given block. On Python 3 these values are deleted.
13
14 * Added a new ``deprecated-sys-function``, emitted when accessing removed sys members.
15
16 * Added ``xreadlines-attribute``, emitted when the ``xreadlines()`` attribute is accessed.
17
18 * The Python 3 porting mode can now run with Python 3 as well.
19
20 * docparams extension allows abstract methods to document what overriding
21 implementations should return, and to raise NotImplementedError without
22 documenting it.
23
24 Closes #2044
25
26 * Special methods do not count towards ``too-few-methods``,
27 and are considered part of the public API.
28
29 * Enum classes do not trigger ``too-few-methods``
30
31 Closes #605
32
33 * Added a new Python 2/3 check for accessing ``operator.div``, which is removed in Python 3
34
35 Closes #1936
36
37 * Added a new Python 2/3 check for accessing removed urllib functions
38
39 Closes #1997