Commit Graph

1 Commits

Author SHA1 Message Date
Leon Anavi
6fc41aa22c python3-astroid: Upgrade 2.8.2 -> 2.8.4
Upgrade to release 2.8.4:

- Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr``
  nodes. When these nodes occur in ``Arguments``, ``Keyword``  or
  ``Comprehension`` nodes these methods now correctly point to the
  outer-scope of the ``FunctionDef``, ``ClassDef``, or
  ``Comprehension``.
- Fix the ``set_local`` function for ``NamedExpr`` nodes.
  When these nodes occur in ``Arguments``, ``Keyword``, or
  ``Comprehension`` nodes these nodes are now correctly added to
  the locals of the ``FunctionDef``, ``ClassDef``, or
  ``Comprehension``.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-04 06:52:51 -07:00