Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mark __init_subclass__ as classmethod (#388)2.0.experimental2.0 | Łukasz Rogalski | 2017-01-30 | 2 | -0/+13 |
| | |||||
* | Different name for kwonlyargs in astroid 2.0 | Claudiu Popa | 2017-01-26 | 1 | -2/+2 |
| | |||||
* | Let NotSupportedError be propagated. | Claudiu Popa | 2017-01-26 | 2 | -7/+7 |
| | |||||
* | Add getitem to defaultdict brain. (#387) | Derek Gustafson | 2017-01-25 | 2 | -0/+14 |
| | |||||
* | Make is_argument search kwonlyargs. (#386) | Derek Gustafson | 2017-01-22 | 2 | -1/+15 |
| | |||||
* | Implement __getitem__ inference for classes (using the metaclass) | David Euresti | 2017-01-22 | 2 | -0/+41 |
| | | | | | | Essentially implement the getitem method in ClassDef which returns the correct value. Fixes #348 | ||||
* | Make ClassDefs support keyword arguments. (#384) | Derek Gustafson | 2017-01-22 | 4 | -3/+33 |
| | |||||
* | add format string support (#365) | Jared Garst | 2016-12-30 | 6 | -3/+65 |
| | | | | Format strings require support for two new nodes, FormattedValue, respectively JoinedStr. | ||||
* | Add support for binary operations between classes. | Claudiu Popa | 2016-12-30 | 3 | -3/+26 |
| | |||||
* | Add a new mechanism for retrieving the special methods. | Claudiu Popa | 2016-12-30 | 3 | -2/+87 |
| | |||||
* | Add support for inferring unary binary op for classes | Claudiu Popa | 2016-12-30 | 2 | -1/+12 |
| | |||||
* | Add missing parameter to default implementation. | Claudiu Popa | 2016-12-30 | 1 | -1/+1 |
| | |||||
* | Wrap values in Const, in order to find them properly. | Claudiu Popa | 2016-12-30 | 1 | -2/+2 |
| | |||||
* | Raise AstroidTypeError whenever a slice cannot be inferred, instead of ↵ | Claudiu Popa | 2016-12-30 | 1 | -1/+3 |
| | | | | raising TypeError and letting the upper context to handle it. | ||||
* | Make sure we don't convert a None object to a list. | Claudiu Popa | 2016-12-30 | 1 | -3/+5 |
| | |||||
* | Force the path to be a list when passing it to find_module. | Claudiu Popa | 2016-12-30 | 1 | -1/+2 |
| | |||||
* | Reraise the exceptions as astroid exceptions in .getitem. | Claudiu Popa | 2016-12-30 | 1 | -6/+10 |
| | |||||
* | Let the type error propagate as an AstroidTypeError. | Claudiu Popa | 2016-12-30 | 4 | -28/+53 |
| | |||||
* | Use sys.base_exec_prefix in case sys.real_prefix is not defined | Claudiu Popa | 2016-12-30 | 1 | -2/+10 |
| | | | | | | | | sys.real_prefix is an addition of the *virtualenv* library, but it is not added when a virtual environment is created with the builtin *venv* library. In the latter's case, sys.base_exec_prefix is the one pointing to the original installation of Python. Now, in case sys.real_prefix is not defined, we fallback to sys.base_exec_prefix. | ||||
* | getitem() method accepts nodes now, instead of Python objects. | Claudiu Popa | 2016-12-30 | 6 | -76/+109 |
| | |||||
* | Hardcode the names of the expected unbound method names. | Claudiu Popa | 2016-12-30 | 1 | -2/+6 |
| | |||||
* | Skip the current class when deducing its mro. Close #361. | Claudiu Popa | 2016-11-21 | 1 | -0/+2 |
| | |||||
* | Add the full path to the resources's data directory when testing the ↵ | Claudiu Popa | 2016-11-01 | 2 | -2/+5 |
| | | | | namespace package pth support. | ||||
* | Add test for underscores in numeral literal (Python 3.6) | Claudiu Popa | 2016-11-01 | 1 | -0/+19 |
| | |||||
* | Use the correct _replace member. Thanks to @dirthead for finding the bug. ↵ | Claudiu Popa | 2016-10-24 | 1 | -1/+1 |
| | | | | Close #368 | ||||
* | Export __version__ in __init__. | Moisés López | 2016-08-24 | 2 | -2/+3 |
| | |||||
* | Remove infered and instantiate_class from the code base | Claudiu Popa | 2016-08-24 | 2 | -30/+0 |
| | |||||
* | Simplify an if expression. | Claudiu Popa | 2016-08-24 | 1 | -1/+1 |
| | |||||
* | Export two helpers for verifying the type of a spec. | Claudiu Popa | 2016-08-24 | 1 | -0/+7 |
| | |||||
* | Rename a couple of finders and document them. | Claudiu Popa | 2016-08-24 | 1 | -13/+36 |
| | |||||
* | Move the spec finder under a new namespace, interpreter._import. | Claudiu Popa | 2016-08-24 | 6 | -286/+312 |
| | |||||
* | Add support for discovering .pth file created by certain namespace packages. | Claudiu Popa | 2016-08-24 | 5 | -4/+45 |
| | |||||
* | Add brain tips for _io.TextIOWrapper's buffer and raw attributes. | Claudiu Popa | 2016-08-22 | 2 | -0/+89 |
| | |||||
* | Make InterpreterObjects be used as their underlying runtime object, by ↵ | Claudiu Popa | 2016-08-21 | 1 | -4/+18 |
| | | | | providing a way to access the attributes of the latter seamlessly. | ||||
* | Use proper environment markers for version specific dependencies. | Claudiu Popa | 2016-08-02 | 1 | -10/+3 |
| | |||||
* | Left to do notice for the future. | Claudiu Popa | 2016-07-28 | 1 | -0/+1 |
| | |||||
* | Add `returns` into the proper order in FunctionDef._astroid_fields | Claudiu Popa | 2016-07-27 | 2 | -1/+13 |
| | | | | | The order is important, since it determines the last child, which in turn determines the last line number of a scoped node. | ||||
* | Add missing parameter to underlying bound method. | Claudiu Popa | 2016-07-23 | 1 | -1/+1 |
| | |||||
* | Even more granular copyrights (thanks to copyrite) | Claudiu Popa | 2016-07-22 | 67 | -153/+228 |
| | |||||
* | Keep a consistent copyright notice across the board. | Claudiu Popa | 2016-07-19 | 67 | -0/+134 |
| | |||||
* | Make Uninferable have a false value by default. | Claudiu Popa | 2016-07-16 | 2 | -7/+18 |
| | |||||
* | Move test specific to pylint into pylint. | Claudiu Popa | 2016-06-29 | 1 | -19/+0 |
| | |||||
* | New function, astroid.extract_node, exported out from astroid.test_utils. | Claudiu Popa | 2016-06-29 | 18 | -484/+482 |
| | |||||
* | Use the lineno and col_offset provided by variadics in Python 3.5+. Close #335 | Claudiu Popa | 2016-06-28 | 2 | -2/+32 |
| | |||||
* | Add more up-to-date package information. Close #330 | Claudiu Popa | 2016-06-27 | 1 | -3/+3 |
| | |||||
* | Add runtime virtual classes for DictKeys, DictItems, DictValues and ↵ | Claudiu Popa | 2016-06-20 | 3 | -0/+21 |
| | | | | DictInstance. | ||||
* | Give priority to local special attributes for classes and modules | Claudiu Popa | 2016-06-05 | 3 | -6/+43 |
| | | | | | | For instance, a module can decide to redefine its __file__ attribute. Previously, this was defaulting to the file name itself, without taking in account local redefinitions. | ||||
* | Don't restrict building of builtin type's member if they are already in ↵ | Claudiu Popa | 2016-06-04 | 3 | -4/+3 |
| | | | | | | | | | | special_attributes The introduction of the special attribute models led to an interesting bug, where some of the members of the builtin type were not added into it, since they were already defined at the level of the special_attributes. The latter is just a declaration of what attributes a type can have, usually leading to introspecting the type itself for retrieving the value of the special attribute. | ||||
* | Proper bound and _proxied objects for __subclasses__ and __mro__ pointing to ↵ | Claudiu Popa | 2016-06-04 | 2 | -2/+36 |
| | | | | type.mro, respectively type.__subclasses__. | ||||
* | Now is_subtype / is_supertype raises an internal exception when a type ↵ | Claudiu Popa | 2016-06-03 | 4 | -18/+38 |
| | | | | | | | | hierarchy can't be determined It used to return Uninferable, but no call site was actually taking care of this potential return. It is better though to simply raise an exception and to let the call sites to handle them in which way they want to. |