| 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 | 1 | -1/+28 |
| | | | | | #129. | ||||
| * | Fix the body of namedtuple._replace: return the current self and don't ↵ | Claudiu Popa | 2015-07-06 | 1 | -5/+2 |
| | | | | | actually call self._make, since it's impossible to understand it. | ||||
| * | Add __enter__ and __exit__ for subprocess.Popen. | Claudiu Popa | 2015-07-03 | 1 | -36/+46 |
| | | |||||
| * | Add __reversed__ special method to deques. | Claudiu Popa | 2015-06-26 | 1 | -2/+3 |
| | | |||||
| * | Understand the one-argument form of the builtin *type*. | Claudiu Popa | 2015-06-24 | 1 | -2/+12 |
| | | | | | | This uses the recently added *astroid.helpers.object_type* in order to retrieve the Python type of the first argument of the call. | ||||
| * | Namedtuple's instance members gain a new .attrname attribute, since they're ↵ | Claudiu Popa | 2015-06-20 | 1 | -0/+1 |
| | | | | | actually equivalent to an AssAttr node. | ||||
| * | Add inference support for the `bool` builtin. | Claudiu Popa | 2015-06-17 | 1 | -0/+25 |
| | | |||||
| * | Fix a couple of pylint warnings. | Claudiu Popa | 2015-06-17 | 1 | -4/+2 |
| | | |||||
| * | Add inference support for `callable` builtin. | Claudiu Popa | 2015-06-16 | 1 | -7/+30 |
| | | |||||
| * | Allow inference of tuple(frozenset()) | Claudiu Popa | 2015-06-14 | 1 | -4/+4 |
| | | |||||
| * | Set the module name for six.moves fail hook module. | Claudiu Popa | 2015-06-10 | 1 | -1/+3 |
| | | |||||
| * | Improve the inference of six.moves. | Claudiu Popa | 2015-06-10 | 1 | -192/+223 |
| | | | | | | | This patch improves especially the inferrence when using `from ... import ...` syntax. Also, we added a new fail import hook for six.moves, which fixes the import-error false positive from pylint. Closes issue #107. | ||||
| * | Add 'assert_equals' method in nose.tools's brain plugin. | Claudiu Popa | 2015-06-09 | 1 | -0/+3 |
| | | |||||
| * | Add inference support for hasattr builtin. Closes issue #102. | Claudiu Popa | 2015-06-07 | 1 | -11/+44 |
| | | |||||
| * | Infer the third argument of the getattr builtin and return the inference result. | Claudiu Popa | 2015-06-06 | 1 | -1/+4 |
| | | |||||
| * | Use an inference context for inferring attributes in infer_getattr. | Claudiu Popa | 2015-06-06 | 1 | -1/+1 |
| | | |||||
| * | Add inference support for getattr builtin. | Claudiu Popa | 2015-06-06 | 1 | -2/+45 |
| | | | | | Closes issue #103. | ||||
| * | Use register_builtin_transform for inferring super. | Claudiu Popa | 2015-06-06 | 1 | -6/+2 |
| | | |||||
| * | Update the rules for what descriptor is returned from a super(), depending ↵ | Claudiu Popa | 2015-05-28 | 1 | -1/+2 |
| | | | | | on the accessed object. | ||||
| * | Add a new *inference object* called Super | Claudiu Popa | 2015-05-28 | 1 | -1/+73 |
| | | | | | | | | | | | | | This patch also adds support for understanding super calls. astroid understands the zero-argument form of super, specific to Python 3, where the interpreter fills itself the arguments of the call. Also, we are understanding the 2-argument form of super, both for bounded lookups (super(X, instance)) as well as for unbounded lookups (super(X, Y)), having as well support for validating that the object-or-type is a subtype of the first argument. The unbounded form of super (one argument) is not understood, since it's useless in practice and should be removed from Python's specification. Closes issue #89. | ||||
| * | Add a new type of nodes, called *inference objects*. | Claudiu Popa | 2015-05-19 | 1 | -0/+8 |
| | | | | | | | | | | | | Inference objects are similar with AST nodes, but they can be obtained only after inference, so they can't be found inside the AST tree. Their purpose is to handle at astroid level some operations which can't be handled when using brain transforms. For instance, the first object added is FrozenSet, which can be manipulated at astroid's level (inferred, itered etc). Code such as this 'frozenset((1,2))' will not return an Instance of frozenset, without having access to its content, but a new objects.FrozenSet, which can be used just as a nodes.Set. | ||||
| * | Add brain module for dateutil.parser.parsepylint-480 | raylu | 2015-05-12 | 1 | -0/+15 |
| | | |||||
| * | Ensure that generated enum values have the correct base classesenum-fixes | Philip Lorenz | 2015-05-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Enum values should share the same base classes as their defining class. If this is not the case it may lead to wrong inference results when an enum member is used - e.g. for the following snippet: class X(enum.IntEnum): one = 1 print([1, 2][X.one]) pylint will detect a "invalid-sequence-index" error as the __index__ method of X.one is not detected. | ||||
| * | SyncManager is a context manager as well. | Claudiu Popa | 2015-04-29 | 1 | -0/+2 |
| | | |||||
| * | Add six tips for vendorized requests library. | Claudiu Popa | 2015-04-24 | 1 | -0/+1 |
| | | |||||
| * | Add brain tips for multiprocessing post Python 3.4+. | Claudiu Popa | 2015-04-02 | 1 | -4/+33 |
| | | | | | | | | In Python 3.4+, the module level functions are retrieved with getattr from a context object, leading to many no-member errors in Pylint. This patch ensures us that we can retrieve those attributes, no matter what. | ||||
| * | Add missing tkinter imports. | Claudiu Popa | 2015-03-28 | 1 | -0/+2 |
| | | |||||
| * | Supress py2gi warnings. Patch by Cole Robinson. Closes issue #86. | Claudiu Popa | 2015-03-28 | 1 | -1/+11 |
| | | |||||
| * | Add brain tips for multiprocessing.Manager and ↵ | Claudiu Popa | 2015-03-28 | 1 | -0/+52 |
| | | | | | multiprocessing.managers.SyncManager. | ||||
| * | Some style fixes. | Claudiu Popa | 2015-03-28 | 1 | -5/+4 |
| | | |||||
| * | Improve the nose brain tips. | Claudiu Popa | 2015-01-28 | 1 | -17/+35 |
| | | | | | | | This patch uses `.methods` instead of `.locals`, since the stub class doesn't have any locals. Also, it builds BoundMethods for the assert methods instead of functions as it was done previously. | ||||
| * | Obtain the methods for the nose brain tip through an | Claudiu Popa | 2015-01-27 | 1 | -3/+8 |
| | | | | | | | unittest.TestCase instance. Closes Pylint issue #457. | ||||
| * | Get the first element from the method list when obtaining nose.tools.trivial ↵ | Claudiu Popa | 2015-01-16 | 1 | -1/+1 |
| | | | | | | | functions. Closes Pylint issue #448. | ||||
| * | Add inference tips for nose.tools. | Claudiu Popa | 2015-01-11 | 1 | -0/+56 |
| | | |||||
| * | removed long suffix | Fran?ois Mockers | 2015-01-08 | 1 | -2/+2 |
| | | |||||
| * | added properties block_size and digest_size to hashlib | Fran?ois Mockers | 2015-01-07 | 1 | -0/+6 |
| | | |||||
| * | Trim two extra lines. | Claudiu Popa | 2015-01-03 | 1 | -2/+0 |
| | | |||||
| * | Add parse and error submodules to six.moves tips. | Claudiu Popa | 2014-12-28 | 1 | -0/+2 |
| | | |||||
| * | Add brain tips for six.moves. Closes issue #63. | Claudiu Popa | 2014-12-18 | 1 | -0/+223 |
| | | |||||
| * | Fix a typo. | Claudiu Popa | 2014-12-11 | 1 | -1/+1 |
| | | |||||
| * | Improve the brain definition of string methods. | Claudiu Popa | 2014-12-04 | 1 | -9/+31 |
| | | | | | | | | This patch drops the dynamic building of the methods and adds a couple of arguments for some methods. Nevertheless, this approach will make astroid to believe that some methods accept keyword arguments, while this is not true. | ||||
| * | don't commit/push without checking for unsaved buffer | Sylvain Th?nault | 2014-12-04 | 2 | -44/+6 |
| | | |||||
| * | [brain] move code from py2stdlib to builtin_inference | Sylvain Th?nault | 2014-12-04 | 1 | -0/+43 |
| | | |||||
| * | Add brain definition for most string and unicode methods | Sylvain Th?nault | 2014-12-04 | 1 | -0/+47 |
| | | |||||
| * | Add inference tips for dict calls. | Claudiu Popa | 2014-12-03 | 1 | -1/+68 |
| | | | | | | This patch properly infers dict constructor calls, as in dict(), dict(kwarg=value), dict(<iterable>), dict(<mapping>) and dict(<iterable> or <mapping>, **kwarg) syntax. | ||||
| * | Set the col_offset for infered dicts. | Claudiu Popa | 2014-12-02 | 1 | -0/+1 |
| | | |||||
| * | Drop the inference of frozensets as sets. | Claudiu Popa | 2014-11-28 | 1 | -2/+0 |
| | | |||||
| * | Support bytes as arguments for builtins like list, set and tuple. | Claudiu Popa | 2014-11-28 | 1 | -1/+1 |
| | | |||||
