astroid 2.3.2
-
All type comments have as parent the corresponding
astroidnodeUntil now they had as parent the builtin
astnode which meant
we were operating with primitive objects instead of our own.Close pylint-dev/pylint#3174
-
Pass an inference context to
metaclass()when inferring an object typeThis should prevent a bunch of recursion errors happening in pylint.
Also refactor the inference ofIfExpnodes to use separate contexts
for each potential branch.Close pylint-dev/pylint#3152
Close pylint-dev/pylint#3159