Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pylint crashes with RecursionError when check dask array. #2985

Closed
yunbytes opened this issue Jun 27, 2019 · 1 comment
Closed

pylint crashes with RecursionError when check dask array. #2985

yunbytes opened this issue Jun 27, 2019 · 1 comment
Labels
Bug 🪲 Crash 💥 A bug that makes pylint crash

Comments

@yunbytes
Copy link

""" 
sample.py
"""

import dask.array as da
import numpy as np

arr = da.from_array(np.arange(10, dtype=np.float32))

if not arr: # causes pylint crash with RecursionError.
    print(arr)

Steps to reproduce

  1. pylint sample.py

Current behavior

pylint crashes with the following outputs

************* Module sample
sample.py:8:0: C0103: Constant name "arr" doesn't conform to UPPER_CASE naming style (invalid-name)
Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/inference.py", line 474, in _infer_unaryop
yield operand.infer_unary_op(self.op)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 114, in getattr
return getattr(self._proxied, name)
AttributeError: 'ClassDef' object has no attribute 'infer_unary_op'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 91, in _inference_tip_cached
return iter(_cache[func, node])
KeyError: (<function register_builtin_transform.._transform_wrapper at 0x7fc41013fd08>, <Call l.1129 at 0x7fc3d0486668>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/anaconda3/bin/pylint", line 11, in
sys.exit(run_pylint())
File "/usr/anaconda3/lib/python3.7/site-packages/pylint/init.py", line 20, in run_pylint
Run(sys.argv[1:])
File "/usr/anaconda3/lib/python3.7/site-packages/pylint/lint.py", line 1628, in init
linter.check(args)
File "/usr/anaconda3/lib/python3.7/site-packages/pylint/lint.py", line 943, in check
self._do_check(files_or_modules)
File "/usr/anaconda3/lib/python3.7/site-packages/pylint/lint.py", line 1075, in _do_check
self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)
File "/usr/anaconda3/lib/python3.7/site-packages/pylint/lint.py", line 1158, in check_astroid_module
walker.walk(ast_node)
File "/usr/anaconda3/lib/python3.7/site-packages/pylint/utils.py", line 1303, in walk
self.walk(child)
File "/usr/anaconda3/lib/python3.7/site-packages/pylint/utils.py", line 1303, in walk
self.walk(child)
File "/usr/anaconda3/lib/python3.7/site-packages/pylint/utils.py", line 1300, in walk
cb(astroid)
File "/usr/anaconda3/lib/python3.7/site-packages/pylint/checkers/typecheck.py", line 1435, in visit_unaryop
for error in node.type_errors():
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 4315, in type_errors
for result in results
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 4314, in
result
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/inference.py", line 484, in _infer_unaryop
bool_value = operand.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 491, in infer_bool
bool_value = inferred.bool_value()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 316, in bool_value
result = _infer_method_result_truth(self, BOOL_SPECIAL_METHOD, context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 162, in _infer_method_result_truth
for value in meth.infer_call_result(instance, context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/node_classes.py", line 348, in infer
return self._explicit_inference(self, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/init.py", line 93, in _inference_tip_cached
result = func(*args, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 130, in _transform_wrapper
result = transform(node, context=context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/brain/brain_builtin_inference.py", line 485, in infer_bool
inferred = next(argument.infer(context=context))
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/util.py", line 160, in limit_inference
yield from islice(iterator, size)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/context.py", line 113, in cache_generator
for result in generator:
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 131, in raise_if_nothing_inferred
yield next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 95, in wrapped
res = next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/inference.py", line 219, in infer_call
yield from callee.infer_call_result(caller=self, context=callcontext)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/util.py", line 160, in limit_inference
yield from islice(iterator, size)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/context.py", line 113, in cache_generator
for result in generator:
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 131, in raise_if_nothing_inferred
yield next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 95, in wrapped
res = next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 137, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/util.py", line 160, in limit_inference
yield from islice(iterator, size)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/context.py", line 113, in cache_generator
for result in generator:
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 131, in raise_if_nothing_inferred
yield next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 92, in wrapped
generator = _func(node, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/inference.py", line 832, in infer_assign
stmts = list(self.assigned_stmts(context=context))
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 141, in raise_if_nothing_inferred
yield from generator
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/protocols.py", line 383, in assign_assigned_stmts
self.value.infer(context), assign_path, context
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/protocols.py", line 406, in _resolve_assignment_parts
for part in parts:
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/util.py", line 160, in limit_inference
yield from islice(iterator, size)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/context.py", line 113, in cache_generator
for result in generator:
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 141, in raise_if_nothing_inferred
yield from generator
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 95, in wrapped
res = next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/inference.py", line 219, in infer_call
yield from callee.infer_call_result(caller=self, context=callcontext)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/scoped_nodes.py", line 1664, in infer_call_result
yield from returnnode.value.infer(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/util.py", line 160, in limit_inference
yield from islice(iterator, size)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/context.py", line 113, in cache_generator
for result in generator:
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 131, in raise_if_nothing_inferred
yield next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 95, in wrapped
res = next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/inference.py", line 213, in infer_call
for callee in self.func.infer(context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/util.py", line 160, in limit_inference
yield from islice(iterator, size)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/context.py", line 113, in cache_generator
for result in generator:
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 131, in raise_if_nothing_inferred
yield next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 95, in wrapped
res = next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/bases.py", line 137, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/util.py", line 160, in limit_inference
yield from islice(iterator, size)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/context.py", line 113, in cache_generator
for result in generator:
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 131, in raise_if_nothing_inferred
yield next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 92, in wrapped
generator = _func(node, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/inference.py", line 832, in infer_assign
stmts = list(self.assigned_stmts(context=context))
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 131, in raise_if_nothing_inferred
yield next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/protocols.py", line 383, in assign_assigned_stmts
self.value.infer(context), assign_path, context
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/protocols.py", line 406, in _resolve_assignment_parts
for part in parts:
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/util.py", line 160, in limit_inference
yield from islice(iterator, size)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/context.py", line 113, in cache_generator
for result in generator:
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 131, in raise_if_nothing_inferred
yield next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 95, in wrapped
res = next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/inference.py", line 213, in infer_call
for callee in self.func.infer(context):
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/util.py", line 160, in limit_inference
yield from islice(iterator, size)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/context.py", line 113, in cache_generator
for result in generator:
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 131, in raise_if_nothing_inferred
yield next(generator)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/decorators.py", line 92, in wrapped
generator = _func(node, context, **kwargs)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/inference.py", line 189, in infer_name
context = contextmod.copy_context(context)
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/context.py", line 155, in copy_context
return context.clone()
File "/usr/anaconda3/lib/python3.7/site-packages/astroid/context.py", line 102, in clone
clone = InferenceContext(self.path, inferred=self.inferred)
RecursionError: maximum recursion depth exceeded

Expected behavior

Should show linter warning, but should not crash

pylint --version output

pylint 2.3.1
astroid 2.2.5
Python 3.7.3 (default, Mar 27 2019, 16:54:48)
[Clang 4.0.1 (tags/RELEASE_401/final)]

@yunbytes yunbytes changed the title pylint RecursionError when check dask array. pylint crashes with RecursionError when check dask array. Jun 27, 2019
@PCManticore PCManticore added Bug 🪲 Crash 💥 A bug that makes pylint crash labels Jul 6, 2019
@PCManticore
Copy link
Contributor

Thanks for the report, should be fixed once pylint==2.5 is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🪲 Crash 💥 A bug that makes pylint crash
Projects
None yet
Development

No branches or pull requests

2 participants