Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move all astroid modules into a its own directory, which is now the package. | Torsten Marek | 2014-11-08 | 1 | -965/+0 |
| | | | | python setup.py develop now works. | ||||
* | Make the source compatible with Python 2.7 and 3.3+. | Claudiu Popa | 2014-10-27 | 1 | -4/+5 |
| | |||||
* | Various speed improvements. | Claudiu Popa | 2014-10-20 | 1 | -18/+18 |
|\ | | | | | | | Patch by Alex Munroe. | ||||
| * | merged with default | Eevee (Alex Munroe) | 2014-07-31 | 1 | -19/+41 |
| |\ | |||||
| * | | Speed up rebuilder considerably by computing line numbers lazily. | Eevee (Alex Munroe) | 2014-07-01 | 1 | -16/+17 |
| | | | | | | | | | | | | | | | | | | | | | Fetching the last child of each of hundreds of thousands of nodes is relatively expensive, and most of the time this information is never used, so don't actually figure it out until it's asked for. Saves the overhead of quite a few function calls, too. | ||||
| * | | Replace copy_context with some dynamic scoping. | Eevee (Alex Munroe) | 2014-07-01 | 1 | -3/+2 |
| | | | |||||
* | | | Fix a maximum recursion error occured during the inference, where statements ↵ | Claudiu Popa | 2014-08-26 | 1 | -0/+14 |
| |/ |/| | | | | | with the same name weren't filtered properly. Closes pylint issue #295. | ||||
* | | pylint source code | Sylvain Thénault | 2014-07-25 | 1 | -19/+20 |
| | | |||||
* | | Expose function annotation to astroid. `Arguments` node exposes ↵ | Claudiu Popa | 2014-07-13 | 1 | -1/+22 |
|/ | | | | 'varargannotation', 'kwargannotation' and 'annotations' attributes, while `Function` node has the 'returns' attribute. | ||||
* | Drop yield_from API, add a new YieldFrom node instead. | Claudiu Popa | 2014-03-04 | 1 | -4/+3 |
| | | | | | --HG-- branch : yield_from | ||||
* | Add yield_from property for Yield nodes. | Claudiu Popa | 2014-03-02 | 1 | -1/+5 |
| | | | | | --HG-- branch : yield_from | ||||
* | Add support for py3k's keyword only arguments | Julien Cristau | 2013-07-18 | 1 | -2/+18 |
| | | | | PEP 3102 | ||||
* | Fix format_args when there are no positional arguments | Julien Cristau | 2013-07-18 | 1 | -1/+3 |
| | | | | | When formatting arguments, don't output an extra leading comma if the function has no positional arguments. | ||||
* | Handle python3.3's With nodes | Julien Cristau | 2013-06-20 | 1 | -7/+10 |
| | | | | | Change With nodes to have a list of (expr, var) items as in python 3.3's ast. | ||||
* | rename the project astroid | David Douard | 2013-06-17 | 1 | -49/+49 |
| | |||||
* | minor cleanups: drop copyright by me, update others to 2013, droip those in ↵ | Sylvain Thénault | 2013-03-28 | 1 | -2/+0 |
| | | | | | | | dumb test data files, delete some trailing whitespaces --HG-- branch : stable | ||||
* | unify BUILTINS_NAME / BUILTINS_MODULE into astng.bases.BUILTINS | Sylvain Thénault | 2013-03-28 | 1 | -6/+5 |
| | | | | | --HG-- branch : stable | ||||
* | [cleanup] don't call const_factory with astng nodes | Sylvain Thénault | 2013-03-28 | 1 | -9/+5 |
| | | | | | --HG-- branch : stable | ||||
* | don't call const_factory for builtin types subclasses, this will trigger ↵ | Sylvain Thénault | 2013-03-28 | 1 | -7/+8 |
| | | | | | | | error later. Closes #124337 --HG-- branch : stable | ||||
* | Add support for inference of subscript operations on dict literals. Closes ↵ | Torsten Marek | 2013-03-27 | 1 | -7/+9 |
| | | | | | | | | | #123074 actually fix Dict.getitem and enhance infer_subscript --HG-- branch : stable | ||||
* | Fix python 3 crash on importing from a non existing module. Closes #83749 | FELD Boris | 2012-07-31 | 1 | -4/+9 |
| | | | | | | Pb is actually silented in python 2 since YES objet are seen as iterable since next() is seen as a proper attribute (returning itself, see _Yes.__getattribute__), while it becomes a function in python 3. | ||||
* | Make Starred node extends ParentAssignTypeMixin as it can be part of Assign ↵ | FELD Boris | 2012-07-25 | 1 | -1/+1 |
| | | | | ast node in python-3k. Closes #83138. | ||||
* | closes #74748: getitem protocal should return Const node, not the bare ↵ | Sylvain Thénault | 2011-09-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | python value This one is cute. It's a fix for a crash that occurs on code like "any string literal"[0].upper() due to the fact that the extracted string literal is not properly wrapped, but returned as a naked string object. (patch by google) | ||||
* | py3k: __builtin__ module renamed to builtins, we should consider this to ↵ | Sylvain Thénault | 2011-07-08 | 1 | -5/+6 |
| | | | | properly build ast for builtin objects | ||||
* | closes #70497: Crash on AttributeError: 'NoneType' object has no attribute ↵ | Sylvain Thénault | 2011-07-08 | 1 | -1/+6 |
| | | | | '_infer_name' by fixing constant factory | ||||
* | fix constant_factory, it may be given unknown object when building from ↵ | Sylvain Thénault | 2011-01-11 | 1 | -8/+10 |
| | | | | living objects | ||||
* | cleanup | Sylvain Thénault | 2011-01-11 | 1 | -4/+4 |
| | |||||
* | fix building from living object: content of container should be turned into ↵ | Sylvain Thénault | 2011-01-11 | 1 | -4/+10 |
| | | | | ast nodes | ||||
* | typo in node_classes; py3k - fix manager test (can't iterate on Project) | Emile Anclin | 2010-12-15 | 1 | -3/+3 |
| | |||||
* | cleanup : do more boot strapping in astng_boot_strapping | Emile Anclin | 2010-12-14 | 1 | -20/+38 |
| | | | | * refactor const_factory and add a note in scoped_nodes | ||||
* | build builtins in more direct way | Emile Anclin | 2010-12-14 | 1 | -0/+4 |
| | | | | | * we don't need the MANAGER for the const _proxied anymore * define Const.pytype in class definition | ||||
* | minor cleanup: remove useless optional attributes | Emile Anclin | 2010-12-13 | 1 | -4/+3 |
| | |||||
* | py3k: fix some obvious stuff | Emile Anclin | 2010-12-02 | 1 | -2/+2 |
| | |||||
* | cleanup: move StmtMixin to Statement | Emile Anclin | 2010-12-02 | 1 | -27/+27 |
| | |||||
* | cleanup: BaseClass is no more needed | Emile Anclin | 2010-12-02 | 1 | -2/+2 |
| | |||||
* | reduce circular imports I: import exceptions directly | Emile Anclin | 2010-12-02 | 1 | -1/+1 |
| | | | | - rename exceptions module: it's exported to Pylint anyway | ||||
* | py3k: fix unpack_infer : "(chain(*map(...))" does not work in py3k | Emile Anclin | 2010-11-10 | 1 | -9/+13 |
| | |||||
* | py3k : introduce Nonlocal node | Emile Anclin | 2010-10-28 | 1 | -0/+9 |
| | |||||
* | py3k : introduce Starred node | Emile Anclin | 2010-10-28 | 1 | -0/+5 |
| | |||||
* | py3k / Raise : use "exc" instead of "type" | Emile Anclin | 2010-10-12 | 1 | -4/+18 |
| | | | | have other attributes explicitly different for 2.x and 3.x | ||||
* | py3k: ListComp becomes a ComprehensionScope | Emile Anclin | 2010-10-11 | 1 | -10/+0 |
| | |||||
* | add a "optional_assign" attribute to the NodeNG | Emile Anclin | 2010-10-11 | 1 | -1/+3 |
| | | | | This will make it possible to move LookupMixIn to mixins.py | ||||
* | make dictionary comprehensions and set comprehensions have their own scope, ↵ | Daniel Harding | 2010-10-09 | 1 | -15/+0 |
| | | | | like generator expressions | ||||
* | create a Set node | Emile Anclin | 2010-10-07 | 1 | -0/+12 |
| | |||||
* | replace lgc.compat imports by regular imports | Emile Anclin | 2010-10-06 | 1 | -1/+1 |
| | |||||
* | remove other has_key occurences | Emile Anclin | 2010-10-05 | 1 | -1/+1 |
| | |||||
* | add support for set comprehensions | Daniel Harding | 2010-10-01 | 1 | -0/+7 |
| | |||||
* | add support for dict comprehensions | Daniel Harding | 2010-10-01 | 1 | -0/+8 |
| | |||||
* | py2.3 compat : syntax, set; _nodes_compiler.py : fix visit_discard | Emile Anclin | 2010-09-22 | 1 | -4/+4 |
| | | | | | --HG-- branch : stable | ||||
* | copyright cleanup | Sylvain Thénault | 2010-07-05 | 1 | -17/+1 |
| | | | | | --HG-- branch : stable |