Commit Graph

1 Commits

Author SHA1 Message Date
Leon Anavi
629696b64b python3-astroid: Upgrade 2.3.3 -> 2.4.2
Upgrade to release 2.4.2:

- `FunctionDef.is_generator` properly handles `yield` nodes in
  `While` tests
- Properly construct the arguments of infered property descriptors
- Handle the case where the raw builder fails to retrieve the
  ``__all__`` attribute
- Restructure the AST parsing heuristic to always pick the same
  module
- Do not crash with SyntaxError when parsing namedtuples with
  invalid label
- Expose a ast_from_string method in AstroidManager, which will
  accept source code as a string and return the corresponding
  astroid object
- Prevent a recursion error to happen when inferring the declared
  metaclass of a class

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-26 08:56:37 -07:00