diff options
author | DudeNr33 <3929834+DudeNr33@users.noreply.github.com> | 2021-07-21 08:24:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 08:24:01 +0200 |
commit | a2c166cf5fc334c9011422340b9d9d1a575a2a25 (patch) | |
tree | 5e7308be8d3867722178dadfffc583575ce628bc /doc | |
parent | 970c5d25cc944cdf67f4b5acf7dd48fb495bcf7f (diff) | |
download | pylint-git-a2c166cf5fc334c9011422340b9d9d1a575a2a25.tar.gz |
Fix crash if a callable returning a context manager was assigned to a list or dict item (#4733)
* Fix crash if left hand side of assignment is neither ``astroid.AssignName`` nor ``astroid.AssignAttr``
* Add ChangeLog and whatsnew entry
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2.9.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/whatsnew/2.9.rst b/doc/whatsnew/2.9.rst index 669b9c8bc..0c3b41577 100644 --- a/doc/whatsnew/2.9.rst +++ b/doc/whatsnew/2.9.rst @@ -102,3 +102,5 @@ Other Changes * No longer emit ``consider-using-with`` for ``ThreadPoolExecutor`` and ``ProcessPoolExecutor`` as they have legitimate use cases without a ``with`` block. + +* Fix crash if a callable returning a context manager was assigned to a list or dict item |