Path to this page:
Subject: CVS commit: pkgsrc/devel/py-astroid
From: Adam Ciarcinski
Date: 2018-11-26 10:00:52
Message id: 20181126090052.F35E5FB1F@cvs.NetBSD.org
Log Message:
py-astroid: updated to 2.1.0
What's New in astroid 2.1.0?
* threading.Lock.acquire has the timeout parameter now.
* Pass parameters by keyword name when inferring sequences.
* Correct line numbering for f-strings for complex embedded expressions
When a f-string contained a complex expression, such as an attribute access,
we weren't cloning all the subtree of the f-string expression for attaching \
the correct
line number. This problem is coming from the builtin AST parser which gives \
for the f-string
and for its underlying elements the line number 1, but this is causing all \
sorts of bugs and
problems in pylint, which expects correct line numbering.
* Add support for argparse.Namespace
* async functions are now inferred as AsyncGenerator when inferring their call \
result.
* Filter out Uninferable when inferring the call result result of a class with \
an uninferable __call__ method.
* Make compatible with AST changes in Python 3.8.
* Subscript inference (e.g. "a[i]") now pays attention to multiple \
inferred values for value
(e.g. "a") and slice (e.g. "i")
Files: