From e975a51e73157d27dc7156e35e248a64a8324bd2 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Thu, 1 Oct 2015 13:56:39 +0300 Subject: 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). --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 30365f2..2ed0746 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 -- cgit v1.2.1