| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use new style super when applicablesimplification-for-python3.6-code | Pierre Sassoulas | 2021-02-17 | 1 | -1/+1 |
| | | |||||
| * | Remove IOError that are an alias to OSError see PEP3151 | Pierre Sassoulas | 2021-02-17 | 1 | -1/+1 |
| | | |||||
| * | Remove the # coding, since PEP3120 the default is UTF8 | Pierre Sassoulas | 2021-02-17 | 1 | -1/+0 |
| | | |||||
| * | Update copyright notice | hippo91 | 2021-02-15 | 2 | -1/+2 |
| | | |||||
| * | pylint + black formatting | hippo91 | 2021-02-10 | 1 | -15/+7 |
| | | |||||
| * | Adds docstring and reformat attr_fset method | hippo91 | 2021-02-10 | 1 | -11/+15 |
| | | |||||
| * | In the attr_fset method, retrieve the FunctionDef corresponding to setter ↵ | hippo91 | 2021-02-10 | 1 | -13/+20 |
| | | | | | property and then infer the result of a call to this function | ||||
| * | Back to original attr_fget definition | hippo91 | 2021-02-10 | 1 | -13/+1 |
| | | |||||
| * | Unify the way property arguments are declared | hippo91 | 2021-02-10 | 1 | -1/+13 |
| | | |||||
| * | Setting hard the arguments of method property setter | hippo91 | 2021-02-10 | 1 | -2/+13 |
| | | |||||
| * | Adds the attr_fset property | hippo91 | 2021-02-10 | 1 | -0/+22 |
| | | |||||
| * | Fix a bug for dunder methods inference of function objects | Claudiu Popa | 2020-12-30 | 1 | -0/+1 |
| | | | | | Fixes #819 | ||||
| * | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | Merge branch 'master' into fix_deprecated_importlib_methods | hippo91 | 2020-12-29 | 2 | -2/+4 |
| |\ | |||||
| | * | New copyright notices | hippo91 | 2020-12-27 | 2 | -2/+4 |
| | | | |||||
| * | | Reformated according to black | hippo91 | 2020-12-24 | 1 | -1/+5 |
| | | | |||||
| * | | Adds copyright notice | hippo91 | 2020-12-24 | 1 | -0/+1 |
| | | | |||||
| * | | Adds docstring to the _precache_zipimporters function | hippo91 | 2020-12-24 | 1 | -0/+10 |
| | | | |||||
| * | | Changes the return value of the _precache_zipimporters function so that only ↵ | hippo91 | 2020-12-24 | 1 | -1/+1 |
| |/ | | | | zipimporter instances are returned. | ||||
| * | Remove dependency on imp. | Peter Kolbus | 2020-11-27 | 1 | -44/+57 |
| | | |||||
| * | Explicitly return None on certain functions | Raphael Gaschignard | 2020-10-28 | 1 | -1/+1 |
| | | | | | This fixes some `inconsistent-return-statement` pylint errors | ||||
| * | Add exception inference for `UnicodeDecodeError` (#797) | Claudiu Popa | 2020-05-29 | 1 | -0/+7 |
| | | | | Close PyCQA/pylint#3639 | ||||
| * | Properly construct the arguments of infered property descriptors (#796) | Claudiu Popa | 2020-05-28 | 1 | -9/+24 |
| | | | | Close PyCQA/pylint#3648 | ||||
| * | Fix the new violations of super-without-arguments | Claudiu Popa | 2020-05-12 | 1 | -1/+1 |
| | | |||||
| * | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 2 | -1/+5 |
| | | |||||
| * | Rename variable to not shadow builtin | Claudiu Popa | 2019-12-16 | 1 | -3/+3 |
| | | |||||
| * | Set arguments on inferred properties and property descriptors such as fget() | Claudiu Popa | 2019-12-15 | 1 | -1/+3 |
| | | |||||
| * | Add support for inferring properties | Claudiu Popa | 2019-12-04 | 1 | -0/+45 |
| | | | | | | These new capabilities will allow inferring both the `property` builtin as well as property attributes such as `.deleter` and `.setter`. | ||||
| * | Don't set a parent for descriptor bound methods created on `__get__` access | Claudiu Popa | 2019-11-08 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a very tricky bug and requires particular circumstances to reproduce. For `f.__get__` we have a custom binding interface that generates bound methods on the fly whenever we encounter an `f.__get__(None, ...)` call. On function creation, we set the name of the function as a variable in the frame of the function's parent. e.g. for the following, we'll set `variable` as a name in the function's locals: class A: ... def variable(self): # variable will be part of A.locals pass Now the bug that this commit solves requires a `__get__()` binding such as the one mentioned as well as passing an object's dunder attribute to `__get__`, such as `object.__eq__`. The result is that the `None` that was passed in `f.__get__` will have as a frame the function where the descriptor binding method was called, which will result in `__eq__` to be marked as a variable of the function that was called, which is completely wrong. As a solution we don't set any parent for descriptor bound methods, which are created on the fly and thus the parent might be wrong altogether. Close PyCQA/pylint#3225 | ||||
| * | Fix lint warnings | Claudiu Popa | 2019-10-11 | 1 | -3/+8 |
| | | |||||
| * | Remove redundant compatibility code (#693) | Hugo van Kemenade | 2019-09-10 | 1 | -1/+1 |
| | | |||||
| * | Build FunctionDef.__get__ to use positional only arguments when inferring ↵ | Claudiu Popa | 2019-07-09 | 1 | -4/+8 |
| | | | | | the bound method | ||||
| * | Introduce a new argument to `Arguments` for storing the positional only ↵ | Claudiu Popa | 2019-07-09 | 1 | -0/+1 |
| | | | | | | | | | | annotations The annotations were stored until now in `.annotations` and `kwonlyargs_annotations`, but given the addition of `posonlyargs`, we need to store the positional only annotations somewhere else as well. This new attribute should simplify the handling of annotations for both positional only and positional or keyword parameters. | ||||
| * | Fixed being unable to find distutils submodules by name when in a virtualenv ↵ | Ashley Whetter | 2019-05-23 | 1 | -0/+7 |
| | | | | | | (#672) Close PyCQA/pylint#73 | ||||
| * | Add a proper ``strerror`` inference to the ``OSError`` exceptions. | Claudiu Popa | 2019-02-13 | 1 | -0/+4 |
| | | | | | Close PyCQA/pylint#2553 | ||||
| * | Add a method to the manager to retrieve the builtins module | Claudiu Popa | 2019-01-19 | 1 | -5/+4 |
| | | |||||
| * | Added more builtin exceptions attributes. Close #580 | Claudiu Popa | 2019-01-18 | 1 | -1/+43 |
| | | |||||
| * | Use a different prefix for the object model methods | Claudiu Popa | 2019-01-18 | 1 | -89/+87 |
| | | | | | `py` is a bit confusing, instead a new constant is used. | ||||
| * | Add a registry for builtin exception models. Close PyCQA/pylint#1432 | Claudiu Popa | 2019-01-17 | 1 | -0/+12 |
| | | |||||
| * | Initial formatting of astroid | Claudiu Popa | 2018-10-02 | 4 | -166/+190 |
| | | |||||
| * | `async` functions are now inferred as `AsyncGenerator` when inferring their ↵ | Claudiu Popa | 2018-08-16 | 1 | -0/+20 |
| | | | | | call result. | ||||
| * | Spelling fixes | Ville Skyttä | 2018-07-24 | 1 | -1/+1 |
| | | |||||
| * | Update the copyright noticesastroid-2.0 | Claudiu Popa | 2018-07-15 | 4 | -4/+15 |
| | | |||||
| * | Fix issue causing a pylint test to fail | Bryce Guinta | 2018-07-06 | 1 | -0/+6 |
| | | |||||
| * | Fix inference for nested calls | Bryce Guinta | 2018-07-05 | 1 | -4/+4 |
| | | | | | | | | | | Add context_lookup to the context class as extra_context. Deliver the correct context with the correct boundnode for function argument nodes. Close #177 | ||||
| * | Fix useless-object-inheritance lint error (#573) | Nick Drozd | 2018-06-28 | 2 | -2/+2 |
| | | | | See https://github.com/PyCQA/pylint/pull/2209 | ||||
| * | Fix linting | Claudiu Popa | 2018-06-14 | 1 | -2/+2 |
| | | |||||
