diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-01 13:56:39 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-01 13:56:39 +0300 |
commit | e975a51e73157d27dc7156e35e248a64a8324bd2 (patch) | |
tree | 40ebe143f7ae6257183670b58392846072288e56 /ChangeLog | |
parent | 4b338683b504b1e4a185c09b191512e79757d46e (diff) | |
download | pylint-e975a51e73157d27dc7156e35e248a64a8324bd2.tar.gz |
Start adding a protocol checker for the async features added in PEP 492:
* this patch adds the basis of a new checker, 'async', which deals
with problems that can occur when working with async features added
in Python with PEP 492.
* We're also adding a new error, 'yield-inside-async-function', emitted on
Python 3.5 and upwards when the `yield` statement is found inside
a new coroutine function (PEP 492).
* Another new error is added, 'not-async-context-manager', emitted when
an async context manager block is used with an object which doesn't
support this protocol (PEP 492).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -309,6 +309,16 @@ ChangeLog for Pylint This fixes a false positive related to abstract-class-instantiated. Closes issue #648. + * Add a new checker for the async features added by PEP 492. + + * Add a new error, 'yield-inside-async-function', emitted on + Python 3.5 and upwards when the `yield` statement is found inside + a new coroutine function (PEP 492). + + * Add a new error, 'not-async-context-manager', emitted when + an async context manager block is used with an object which doesn't + support this protocol (PEP 492). + 2015-03-14 -- 1.4.3 |