diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2020-03-05 10:03:35 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2020-03-05 10:03:35 +0100 |
commit | 5f0675c41ff8c463ab0d657fb6756aa9679cffbf (patch) | |
tree | d80fb9ef39c57bd03ff752cf70f472d704f069b1 /astroid/protocols.py | |
parent | 0a8a75db30da060a24922e05048bc270230f5bad (diff) | |
download | astroid-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