Skip to content

astroid 2.3.2

Compare
Choose a tag to compare
@PCManticore PCManticore released this 27 Apr 09:58
  • All type comments have as parent the corresponding astroid node

    Until now they had as parent the builtin ast node 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 type

    This should prevent a bunch of recursion errors happening in pylint.
    Also refactor the inference of IfExp nodes to use separate contexts
    for each potential branch.

    Close pylint-dev/pylint#3152
    Close pylint-dev/pylint#3159