| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Change indentation of unittest_raw_building.py tab to space.dev | AndroWiiid | 2013-11-04 | 1 | -38/+38 |
| | | |||||
| * | Update unittest_manager and add some tests for raw_building.py file. | AndroWiiid | 2013-10-29 | 2 | -7/+53 |
| | | |||||
| * | Add some tests for AstroidManager class in unittest_manager.py | AndroWiiid | 2013-10-24 | 1 | -20/+104 |
| | | |||||
| * | fix some test failures with pypy platform (one remaining) | Sylvain Th?nault | 2013-10-18 | 2 | -4/+12 |
| | | |||||
| * | Update some function definitions in py2stdlib's hashlib stub module | Torsten Marek | 2013-07-24 | 1 | -0/+39 |
| | | | | | | | and make sure AST transforms without a predicate always match. Test all this in a new testcase. | ||||
| * | rename all astroid_from* method, introduced by sed, into ast_from* | Sylvain Th?nault | 2013-07-24 | 3 | -21/+21 |
| | | |||||
| * | Properly recognize methods annotated with abc.abstract{property,method} | Torsten Marek | 2013-06-20 | 1 | -0/+24 |
| | | | | | as abstract. | ||||
| * | namedtuple support using extended transformation function features. Closes #8766 | Sylvain Th?nault | 2013-06-18 | 1 | -0/+17 |
| | | |||||
| * | [transforms] allow transformation functions on any nodes, not only modules | Sylvain Th?nault | 2013-06-18 | 1 | -1/+1 |
| | | |||||
| * | Fix test_generator_attributes for python3 | Julien Cristau | 2013-06-17 | 1 | -1/+4 |
| | | | | | The next() method was renamed __next__() | ||||
| * | rename the project astroid | David Douard | 2013-06-17 | 12 | -576/+576 |
| | | |||||
| * | Fix unittest that was broken due to a change in pylint (BaseTokenChecker -> ↵ | Torsten Marek | 2013-06-17 | 1 | -1/+1 |
| | | | | | BaseRawChecker). | ||||
| * | as_string/repr_tree code cleanup: enhance the doc a bit + regroup code | Sylvain Th?nault | 2013-04-11 | 2 | -11/+11 |
| | | | | | | | | - move _repr_tree from bases.py to as_string.py - rename as_string function to to_code, though public API Node.as_string is left unchanged for now | ||||
| * | enhanced generator support. Closes #124340 | Sylvain Th?nault | 2013-04-11 | 1 | -6/+8 |
| | | |||||
| * | [test] use @require_version when possible | Sylvain Th?nault | 2013-03-29 | 4 | -19/+12 |
| | | |||||
| * | import cleanups | Sylvain Th?nault | 2013-03-29 | 1 | -4/+4 |
| | | |||||
| * | minor cleanups: drop copyright by me, update others to 2013, droip those in ↵ | Sylvain Th?nault | 2013-03-28 | 25 | -382/+26 |
| | | | | | dumb test data files, delete some trailing whitespaces | ||||
| * | unify BUILTINS_NAME / BUILTINS_MODULE into astng.bases.BUILTINS | Sylvain Th?nault | 2013-03-28 | 5 | -31/+29 |
| | | |||||
| * | reintroduce spaces necessary for test_module_as_string | Sylvain Th?nault | 2013-03-28 | 2 | -8/+12 |
| | | |||||
| * | Add support for inference of subscript operations on dict literals. Closes ↵ | Torsten Marek | 2013-03-27 | 1 | -0/+5 |
| | | | | | | | #123074 actually fix Dict.getitem and enhance infer_subscript | ||||
| * | Set literals should be treated as inference leaves. Closes #47957 | Torsten Marek | 2013-03-27 | 1 | -1/+13 |
| | | |||||
| * | Fix inference for generator methods to correctly handle yields in lambdas. ↵ | Torsten Marek | 2013-03-27 | 2 | -6/+22 |
| | | | | | Closes #123068 | ||||
| * | use lgc.testlib to get py2.6 unittest2 compat | Sylvain Th?nault | 2013-02-27 | 1 | -5/+6 |
| | | |||||
| * | [test] fix unittest2 deprecation warnings | Sylvain Th?nault | 2012-11-16 | 8 | -351/+314 |
| | | |||||
| * | py3k test fixes. Closes #109988 | Sylvain Th?nault | 2012-11-16 | 3 | -22/+6 |
| | | |||||
| * | test and fix absolute import handling. Closes #106191 | Sylvain Th?nault | 2012-10-05 | 4 | -3/+19 |
| | | |||||
| * | fix function fromlineno when some decorator is splited on multiple lines. ↵ | Mark Gius | 2012-09-20 | 1 | -0/+18 |
| | | | | | Closes #50395 | ||||
| * | Fix python 3 crash on importing from a non existing module. Closes #83749 | FELD Boris | 2012-07-31 | 1 | -0/+28 |
| | | | | | | | 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 | -0/+46 |
| | | | | | ast node in python-3k. Closes #83138. | ||||
| * | test: don't depend on the way test is started | Sylvain Th?nault | 2011-12-08 | 1 | -1/+1 |
| | | |||||
| * | Make sure that the name attribute on lambda nodes is defined, | Torsten Marek | 2011-12-08 | 1 | -0/+6 |
| | | | | | | otherwise getting the qname of a lambda node crashes with an attribute error. | ||||
| * | closes #77253: provide a way for user code to register astng transformers | Sylvain Th?nault | 2011-09-29 | 1 | -1/+2 |
| | | |||||
| * | copy context path when cloning inference context, else we may skip undesired ↵ | Sylvain Th?nault | 2011-09-29 | 1 | -0/+11 |
| | | | | | inference branches. closes #77187 | ||||
| * | closes #77188: support lgc.decorators.classproperty | Sylvain Th?nault | 2011-09-27 | 1 | -0/+15 |
| | | |||||
| * | cosmetic changes: update/fix copyright and comments, d-t-w | Sylvain Th?nault | 2011-09-27 | 1 | -13/+1 |
| | | |||||
| * | we actually dropped support for python < 2.5 in 0.21 | Sylvain Th?nault | 2011-09-27 | 1 | -11/+0 |
| | | |||||
| * | closes #74748: getitem protocal should return Const node, not the bare ↵ | Sylvain Th?nault | 2011-09-07 | 1 | -0/+4 |
| | | | | | | | | | | | | | | 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) | ||||
| * | closes #74746: should return empty module when __main__ is imported | Sylvain Th?nault | 2011-09-07 | 1 | -0/+5 |
| | | | | | | | | | | | | | Fixes a problem when a module imports __main__. While this is benign normally (pylint just imports itself, and exposes its __main__ module to astng, which is wrong, but not fatal), this led to a crash in our deployed, standalone pylint version. The fix is now that a completely empty module is returned, since neither the linter nor the module in question can make any assumptions about __main__. (patch by google) | ||||
| * | dtw | Sylvain Th?nault | 2011-07-11 | 1 | -11/+11 |
| | | |||||
| * | py3k: __builtin__ module renamed to builtins, we should consider this to ↵ | Sylvain Th?nault | 2011-07-08 | 3 | -22/+23 |
| | | | | | properly build ast for builtin objects | ||||
| * | test and fix relative import inference pb, detected with python 3 | Sylvain Th?nault | 2011-07-08 | 1 | -3/+35 |
| | | |||||
| * | fix file encoding detection with python2.x (closes #70494) | alain lefroy | 2011-07-08 | 1 | -0/+12 |
| | | | | | | | | | | | | | | file encoding declaration shall be in a magic *comment*. from PEP0263:: More precisely, the first or second line must match the regular expression "coding[:=]\s*([-\w.]+)". The first group of this expression is then interpreted as encoding name. If the encoding is unknown to Python, an error is raised during compilation. There must not be any Python statement on the line that contains the encoding declaration. | ||||
| * | closes #70565: absolute imports treated as relative (patch by Jacek Konieczny) | Sylvain Th?nault | 2011-07-08 | 2 | -0/+12 |
| | | |||||
| * | clear ast cache to remove test inter-dependancy | Sylvain Th?nault | 2011-01-11 | 1 | -1/+2 |
| | | |||||
| * | cleanup | Sylvain Th?nault | 2011-01-11 | 3 | -6/+4 |
| | | |||||
| * | change ASTManager cache attribute to astng_cache so it doesn't sound ↵ | Sylvain Th?nault | 2011-01-11 | 2 | -4/+4 |
| | | | | | protected (actually used externally) | ||||
| * | add support for object.__new__ (base patch provided by Chris Torek) | Sylvain Th?nault | 2011-01-05 | 1 | -0/+17 |
| | | | | | | | | | | | The builtin object.__new__ function takes a class and returns an object of that type, i.e., we should infer the result has whatever type we can find from the first argument. To make this work (with Python2.5 at least), we need to note that built in functions whose __module__ is None are really in the __builtin__ module. | ||||
| * | typo in node_classes; py3k - fix manager test (can't iterate on Project) | Emile Anclin | 2010-12-15 | 1 | -2/+1 |
| | | |||||
| * | test: only test encoding for python2x | Emile Anclin | 2010-12-15 | 2 | -99/+38 |
| | | | | | - remove also test/test_encoding.py (it's already in unittest_builder) | ||||
| * | merge | Emile Anclin | 2010-12-15 | 1 | -0/+40 |
| |\ | |||||
