| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Ignore exceptions raised by gi.require_versionpygobject-require_version | David Shea | 2015-07-08 | 1 | -2/+6 |
| | | |||||
| * | Duplicate calls to gi.require_version. | David Shea | 2015-07-08 | 1 | -2/+30 |
| | | | | | | | | | gobject-introspection uses gi.require_version to choose which version of a library to import from gi.repository, and pygobject now issues a warning if gi.require_version is not used. Find calls to require_version and duplicate them in py2gi.py so that the version data is present in the context of the import. | ||||
| * | Understand metaclasses added with six.add_metaclass decorator. Closes issue ↵ | Claudiu Popa | 2015-07-07 | 2 | -1/+52 |
| | | | | | #129. | ||||
| * | Test Super.pytype, Super.display_type and Super.name | Claudiu Popa | 2015-07-07 | 1 | -0/+11 |
| | | |||||
| * | Fix the body of namedtuple._replace: return the current self and don't ↵ | Claudiu Popa | 2015-07-06 | 2 | -5/+4 |
| | | | | | actually call self._make, since it's impossible to understand it. | ||||
| * | Move pyreverse specific modules and functionality back into pyreverse | Claudiu Popa | 2015-07-03 | 5 | -212/+8 |
| | | | | | | We moved astroid.manager.Project and astroid.manager.Manager.project_from_files to pyreverse.inspector. | ||||
| * | Infer the unary method retrieved from classes. | Claudiu Popa | 2015-07-03 | 2 | -2/+16 |
| | | |||||
| * | Add new property name in the list of known property-like objects. | Claudiu Popa | 2015-07-03 | 1 | -1/+3 |
| | | |||||
| * | Add __enter__ and __exit__ for subprocess.Popen. | Claudiu Popa | 2015-07-03 | 1 | -36/+46 |
| | | |||||
| * | Fix pylint warnings. | Claudiu Popa | 2015-07-02 | 1 | -3/+3 |
| | | |||||
| * | Update modutils.py from logilab.common and add support for namespace packages | Claudiu Popa | 2015-07-02 | 2 | -14/+31 |
| | | | | | | | This patch is mostly a backport from logilab.common. The addition is the support for pkg_resources.declare_namespace, which created a good deal of problems so far with regard to virtualenvs. | ||||
| * | Add support for inferring methods masquerading as others for the binop ↵ | Claudiu Popa | 2015-07-02 | 2 | -1/+16 |
| | | | | | protocols. | ||||
| * | Fix the name of the __pow__ protocol. | Claudiu Popa | 2015-07-01 | 1 | -1/+1 |
| | | |||||
| * | Remove trailing whitespace. | Claudiu Popa | 2015-07-01 | 2 | -2/+2 |
| | | |||||
| * | Add support for inferring subscript on instances, which will use ↵ | Claudiu Popa | 2015-07-01 | 3 | -3/+61 |
| | | | | | __getitem__. Closes issue #124. | ||||
| * | Add test for indexing results of tuple and list builtins. | Claudiu Popa | 2015-07-01 | 1 | -1/+3 |
| | | |||||
| * | Add test for indexing strings. | Claudiu Popa | 2015-07-01 | 1 | -1/+2 |
| | | |||||
| * | Use six constants for python versions. | Claudiu Popa | 2015-07-01 | 1 | -7/+3 |
| | | |||||
| * | Add support for indexing bytes on Python 3. | Claudiu Popa | 2015-07-01 | 2 | -0/+14 |
| | | |||||
| * | Modernize test to use extract_node. | Claudiu Popa | 2015-07-01 | 1 | -18/+11 |
| | | |||||
| * | Mark a test as an expected failure: not all staticmethod and classmethods ↵ | Claudiu Popa | 2015-07-01 | 1 | -1/+2 |
| | | | | | are callable. Should be fixed when we'll understand classmethods and staticmethods. | ||||
| * | Add annotation support for function.as_string(). Closes issue #37. | Claudiu Popa | 2015-07-01 | 3 | -9/+33 |
| | | |||||
| * | Merged in jarradhope/astroid (pull request #73) | Claudiu Popa | 2015-07-01 | 2 | -6/+17 |
| |\ | | | | | | | add annotations to as_string method of Arguments | ||||
| | * | add returns annotation | jarradhope | 2015-04-26 | 1 | -2/+5 |
| | | | |||||
| | * | annotations = None | jarradhope | 2015-04-26 | 1 | -1/+3 |
| | | | |||||
| | * | Merged logilab/astroid into default | Jarrad Hope | 2015-04-26 | 2 | -0/+26 |
| | |\ | |||||
| | * | | add annotations to as_string method of Arguments | jarradhope | 2015-04-26 | 1 | -4/+10 |
| | | | | |||||
| * | | | Pin dependency of logilab.common to 0.63.2 for now. | Claudiu Popa | 2015-07-01 | 1 | -1/+1 |
| | | | | |||||
| * | | | Star unpacking in assignments returns properly a list, not the individual ↵ | Claudiu Popa | 2015-07-01 | 2 | -12/+18 |
| | | | | | | | | | | | | | components. Closes issue #138. | ||||
| * | | | Remove trailing whitespace. | Claudiu Popa | 2015-06-30 | 1 | -1/+1 |
| | | | | |||||
| * | | | Add support for multiplication of tuples and lists with instances which ↵ | Claudiu Popa | 2015-06-30 | 2 | -6/+56 |
| | | | | | | | | | | | | | provides an __index__ returning-int method. | ||||
| * | | | Transform lambdas with a self argument at the class level to bound methods. | Claudiu Popa | 2015-06-30 | 2 | -0/+28 |
| | | | | |||||
| * | | | Add a couple of pragma disables for some false positives. | Claudiu Popa | 2015-06-30 | 2 | -0/+3 |
| | | | | |||||
| * | | | Fix the signature of __add__. | Claudiu Popa | 2015-06-28 | 1 | -2/+2 |
| | | | | |||||
| * | | | Emit YES for all string operations operands, it will be implemented later. | Claudiu Popa | 2015-06-28 | 1 | -3/+2 |
| | | | | |||||
| * | | | Return NotImplemented for inferring binary operations between consts and ↵ | Claudiu Popa | 2015-06-28 | 1 | -1/+3 |
| | | | | | | | | | | | | | other nodes only if TypeError is raised. | ||||
| * | | | Ignore string interpolation with tuples and dictionaries for now. | Claudiu Popa | 2015-06-28 | 2 | -0/+16 |
| | | | | |||||
| * | | | Add support for retrieving TypeErrors for binary arithmetic operations and ↵ | Claudiu Popa | 2015-06-28 | 4 | -19/+168 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | augmented assignments. The change is similar to what was added for UnaryOps: a new method called *type_errors* for both AugAssign and BinOp, which can be used to retrieve type errors occurred during inference. Also, a new exception object was added, BinaryOperationError. | ||||
| * | | | Move UnaryOp code to be closer to BinaryOp. | Claudiu Popa | 2015-06-28 | 1 | -56/+57 |
| | | | | |||||
| * | | | Improve the inference of binary arithmetic operations (normal and augmented) | Claudiu Popa | 2015-06-27 | 3 | -135/+696 |
| | | | | | | | | | | | | | | | | | | | This patch completely changes the way how binary and augmented operations are inferred, trying to be as compatible as possible with the semantics from the language reference. | ||||
| * | | | Add helpers.is_supertype and helpers.is_subtype, two functions for checking ↵ | Claudiu Popa | 2015-06-26 | 2 | -33/+183 |
| | | | | | | | | | | | | | if an object is a super/sub type of another. | ||||
| * | | | Add __reversed__ special method to deques. | Claudiu Popa | 2015-06-26 | 1 | -2/+3 |
| | | | | |||||
| * | | | Remove trailing whitespace. | Claudiu Popa | 2015-06-24 | 1 | -1/+1 |
| | | | | |||||
| * | | | Understand the one-argument form of the builtin *type*. | Claudiu Popa | 2015-06-24 | 2 | -11/+40 |
| | | | | | | | | | | | | | | | | This uses the recently added *astroid.helpers.object_type* in order to retrieve the Python type of the first argument of the call. | ||||
| * | | | Add astroid.helpers, a module of various useful utilities which don't belong ↵ | Claudiu Popa | 2015-06-24 | 3 | -1/+270 |
| | | | | | | | | | | | | | | | | | | | | | | yet into other components. Added *object_type*, a function which can be used to obtain the type of almost any astroid object, similar to how the builtin *type* works. | ||||
| * | | | NotImplemented is detected properly now as being part of the builtins module. | Claudiu Popa | 2015-06-23 | 3 | -1/+13 |
| | | | | | | | | | | | | | Previously trying to infer the Name(NotImplemented) returned an YES object. | ||||
| * | | | Remove trailing whitespace and use the correct argument to require_version. | Claudiu Popa | 2015-06-21 | 1 | -2/+2 |
| | | | | |||||
| * | | | Add support for Python 3.5's MatMul infix operator. See PEP 465 for more ↵ | Claudiu Popa | 2015-06-21 | 3 | -0/+21 |
| | | | | | | | | | | | | | details. | ||||
| * | | | Fix a couple of style issues: | Claudiu Popa | 2015-06-21 | 1 | -186/+164 |
| | | | | | | | | | | | | | | | | | | | | | | | | | - import only modules and use their attributes - remove_nodes is now a real decorator - use @ syntax for decorators - remove line spaces where they weren't necessary - remove useless comments | ||||
| * | | | Simplify a test. | Claudiu Popa | 2015-06-20 | 1 | -56/+29 |
| | | | | |||||
