- Aug 08, 2018
-
- Aug 01, 2018
-
- Jul 31, 2018
-
-
Claudiu Popa authored
infer_call_result can raise InferenceError so make sure to handle that for the call sites where it is used infer_call_result started recently to raise InferenceError for objects for which it could not find any returns. Previously it was silently raising a StopIteration, which was especially leaking when calling builtin methods. Since it is after all an inference method, it is expected that it could raise an InferenceError rather than returning nothing. Close PyCQA/pylint#2350
-
Nick Drozd authored
The explicit StopIterations were themselves were cut in ceeee097.
-
- Jul 26, 2018
-
-
Ville Skyttä authored
-
- Jul 24, 2018
-
-
Ville Skyttä authored
-
Bryce Guinta authored
pylint doesn't understand decorators
-
Bryce Guinta authored
Empty generators and next calls within a generator without a default argument now cause a cascade effect which results in a RuntimeError. Close PyCQA/pylint#2317
-
Claudiu Popa authored
Wrap the inference functions with raise_if_nothing_inferred where we didn't have any guards against them This is especially important in a Python 3.7 worlds where we need to handle StopIteration that can be triggered by next() over empty generators.
-
Claudiu Popa authored
-
- Jul 20, 2018
-
-
Bryce Guinta authored
-
Bryce Guinta authored
-
- Jul 19, 2018
-
-
Claudiu Popa authored
-
Claudiu Popa authored
-
- Jul 17, 2018
-
-
Claudiu Popa authored
Close #596
-
- Jul 15, 2018
-
-
Claudiu Popa authored
-
Claudiu Popa authored
-
- Jul 14, 2018
-
-
Bryce Guinta authored
Close #581
-
- Jul 13, 2018
-
-
Claudiu Popa authored
-
- Jul 10, 2018
-
-
Claudiu Popa authored
Close PyCQA/pylint#2267
-
- Jul 08, 2018
-
-
Claudiu Popa authored
Remove the copying of extra_context, since the object is already not mutated. Discovered during #588
-
Bryce Guinta authored
-
- Jul 06, 2018
-
-
Claudiu Popa authored
This would introduce a new method of configuring astroid & pylint, while the usual approach we used so far was to set a flag in the MANAGER itself it we'd need to customize some behaviour (extension_package_whitelist and friends). Also renamed the flag to `max_inferable_values` to be more suggestive on what it does.
-
Bryce Guinta authored
spot performance issues. Add new envrionment variable call ASTROID_MAX_INFERABLE to tune the max inferable amount of values at a time. Close #579 Close PyCQA/pylint#2251
-
Bryce Guinta authored
-
Bryce Guinta authored
-
Bryce Guinta authored
See #581
-
Bryce Guinta authored
-
Bryce Guinta authored
Ignore non-string keys
-
Bryce Guinta authored
Add context_lookup to the context class as extra_context. Deliver the correct context with the correct boundnode for function argument nodes. Close #177
-
- Jul 05, 2018
-
-
Mario Corchero authored
-
Mario Corchero authored
At the moment `load_from_module` is resolving all paths in `sys.path` to validate that the module being import is in a folder part of the path. This is done to resolve symlinks. This can be an issue though it both the file being imported and the path in `sys.path` resolve to different locations. Even if the symlinks are importable, the resolution of the paths in `sys.path` might not.
-
Claudiu Popa authored
-
Claudiu Popa authored
-
brendanator authored
-
brendanator authored
The precedence and associativity rules of operators are respected and parens are only wrapped around child nodes when needed A single If node inside the else block is output as `elif` Unneccesary parens in with statements are removed Unneccesary parens in tuple returns are removed Doc strings in classes and functions no longer get additional indenting
-
Claudiu Popa authored
There's something going on with io/_io on PyPy. io has all its members coming from _io, but _io's members themselves are also coming from _io, so astroid cannot find the actual place where they are defined.
-
Claudiu Popa authored
-