summaryrefslogtreecommitdiff
path: root/astroid/protocols.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2020-03-05 10:03:35 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2020-03-05 10:03:35 +0100
commit5f0675c41ff8c463ab0d657fb6756aa9679cffbf (patch)
treed80fb9ef39c57bd03ff752cf70f472d704f069b1 /astroid/protocols.py
parent0a8a75db30da060a24922e05048bc270230f5bad (diff)
downloadastroid-git-5f0675c41ff8c463ab0d657fb6756aa9679cffbf.tar.gz
``NodeNG.bool_value()`` gained an optional ``context`` parameter
We need to pass an inference context downstream when inferring the boolean value of a node in order to prevent recursion errors and double inference. This fix prevents a recursion error with dask library. Close PyCQA/pylint#2985
Diffstat (limited to 'astroid/protocols.py')
0 files changed, 0 insertions, 0 deletions