diff --git a/ChangeLog b/ChangeLog index 8eb90d31a3..06ab7cab1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -66,6 +66,11 @@ Release date: TBA Closes #4668 +* No longer emit ``consider-using-with`` for ``ThreadPoolExecutor`` and ``ProcessPoolExecutor`` + as they have legitimate use cases without a ``with`` block. + + Closes #4689 + What's New in Pylint 2.9.3? =========================== diff --git a/doc/whatsnew/2.9.rst b/doc/whatsnew/2.9.rst index e3af4322b6..669b9c8bc7 100644 --- a/doc/whatsnew/2.9.rst +++ b/doc/whatsnew/2.9.rst @@ -99,3 +99,6 @@ Other Changes functions/methods. * Added various deprecated functions/methods for python 3.10, 3.7, 3.6 and 3.3 + +* No longer emit ``consider-using-with`` for ``ThreadPoolExecutor`` and ``ProcessPoolExecutor`` + as they have legitimate use cases without a ``with`` block.