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 | -348/+0 |
| | | | | python setup.py develop now works. | ||||
* | Make the source compatible with Python 2.7 and 3.3+. | Claudiu Popa | 2014-10-27 | 1 | -8/+9 |
| | |||||
* | pylint source code | Sylvain Thénault | 2014-07-25 | 1 | -5/+5 |
| | |||||
* | Fix the test order issue by clearing the cache once more after ↵ | Torsten Marek | 2014-07-24 | 1 | -3/+0 |
| | | | | unittest_regrtest. | ||||
* | more test fixes to avoid inter-dependency issues | Sylvain Thénault | 2014-07-24 | 1 | -0/+9 |
| | |||||
* | temporarily add some prints to diagnose the drone.io failure | Sylvain Thénault | 2014-07-24 | 1 | -0/+3 |
| | |||||
* | backport (most of) logilab.common.modutils and related tests into astroid itself | Sylvain Thénault | 2014-07-23 | 1 | -3/+4 |
| | | | | most of this code is for astroid/pylint only. | ||||
* | Add missing import | Julien Cristau | 2014-06-04 | 1 | -1/+2 |
| | |||||
* | Only cache modules if no other module with the same name is known yet, and | Torsten Marek | 2014-04-26 | 1 | -1/+4 |
| | | | | only return cached modules if name and filepath match. | ||||
* | Avoid an (expensive) exception in transform. | Eevee (Alex Munroe) | 2014-04-08 | 1 | -5/+7 |
| | |||||
* | call transformation for builtin modules as well (though not yet for their ↵ | Sylvain Thénault | 2014-03-19 | 1 | -0/+27 |
| | | | | child nodes) | ||||
* | use new style class | Sylvain Thénault | 2013-11-05 | 1 | -1/+2 |
| | |||||
* | rename all astroid_from* method, introduced by sed, into ast_from* | Sylvain Thénault | 2013-07-24 | 1 | -13/+13 |
| | |||||
* | [transforms] allow transformation functions on any nodes, not only modules | Sylvain Thénault | 2013-06-18 | 1 | -3/+10 |
| | |||||
* | rename the project astroid | David Douard | 2013-06-17 | 1 | -68/+68 |
| | |||||
* | import cleanups | Sylvain Thénault | 2013-03-29 | 1 | -2/+1 |
| | | | | | --HG-- branch : stable | ||||
* | minor cleanups: drop copyright by me, update others to 2013, droip those in ↵ | Sylvain Thénault | 2013-03-28 | 1 | -3/+1 |
| | | | | | | | dumb test data files, delete some trailing whitespaces --HG-- branch : stable | ||||
* | closes #77253: provide a way for user code to register astng transformers | Sylvain Thénault | 2011-09-29 | 1 | -1/+3 |
| | |||||
* | fix some copyrights | Sylvain Thénault | 2011-09-27 | 1 | -14/+1 |
| | |||||
* | closes #74746: should return empty module when __main__ is imported | Sylvain Thénault | 2011-09-07 | 1 | -0/+3 |
| | | | | | | | | | | | | 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) | ||||
* | we should catch everything when importing an inspected module to raise a ↵ | Sylvain Thénault | 2011-01-11 | 1 | -3/+1 |
| | | | | proper building exception | ||||
* | change ASTManager cache attribute to astng_cache so it doesn't sound ↵ | Sylvain Thénault | 2011-01-11 | 1 | -7/+7 |
| | | | | protected (actually used externally) | ||||
* | merge | Emile Anclin | 2010-12-15 | 1 | -12/+2 |
|\ | |||||
| * | manager / cleanup: let Pylint catch the errors | Emile Anclin | 2010-11-22 | 1 | -12/+2 |
| | | | | | | | | | | | | This try-except block was accomplishing nothing except transforming an Exception into ASTNGBuildingException; but Pylint already catches Exceptions. | ||||
* | | cleanup manager: remove unused Package class, and from_directory method | Emile Anclin | 2010-12-14 | 1 | -101/+6 |
| | | |||||
* | | minor cleanup: remove useless optional attributes | Emile Anclin | 2010-12-13 | 1 | -11/+10 |
|/ | |||||
* | reduce circular imports I: import exceptions directly | Emile Anclin | 2010-12-02 | 1 | -1/+1 |
| | | | | - rename exceptions module: it's exported to Pylint anyway | ||||
* | fix zipe-safe egg import: check if the imported module is a package | Emile Anclin | 2010-10-27 | 1 | -22/+25 |
| | | | | add a "zip_import_data" method to make "astng_from_module_name" more readable | ||||
* | py3k: 2to3 expects second expression to be an exception argument | Emile Anclin | 2010-10-18 | 1 | -1/+1 |
| | |||||
* | ASTNGManager: remove useless "borg=False" option | Emile Anclin | 2010-10-12 | 1 | -8/+3 |
| | |||||
* | backport stable | Sylvain Thénault | 2010-10-11 | 1 | -4/+6 |
|\ | |||||
| * | support source argument to force consideration of file as a python source file | Sylvain Thénault | 2010-10-11 | 1 | -4/+6 |
| | | | | | | | | | | --HG-- branch : stable | ||||
* | | py3k: remove has_key methods from unused code | Emile Anclin | 2010-10-05 | 1 | -5/+5 |
|/ | |||||
* | remove sys.path.insert from project_from_files | Emile Anclin | 2010-09-02 | 1 | -33/+27 |
| | | | | | This method is only used by Pyrevevers and we have to insert the cwd to the PYTHONPATH there. | ||||
* | proper licensing information (LGPL-2.1). Hope I get it right this time. | Sylvain Thénault | 2010-04-28 | 1 | -5/+19 |
| | |||||
* | more license updates | Sylvain Thénault | 2010-04-26 | 1 | -3/+3 |
| | |||||
* | catch SystemError as well, we may get that on badly intialized compiled modules | Sylvain Thénault | 2010-03-23 | 1 | -1/+3 |
| | |||||
* | prepare 0.20.0 release | Emile Anclin | 2010-03-22 | 1 | -2/+2 |
| | |||||
* | remove disabled "set_cache_size" method; cleanup | Emile Anclin | 2010-03-17 | 1 | -20/+13 |
| | | | | | --HG-- branch : rebuild | ||||
* | don't use a stack for InferenceContext.path | Emile Anclin | 2010-03-17 | 1 | -1/+0 |
| | | | | | | | | The stack failed to detect infinite recursions. This also closes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568968 --HG-- branch : rebuild | ||||
* | refactor cache handling to avoid infinite recursion error while infering ↵ | Emile Anclin | 2010-03-17 | 1 | -45/+42 |
| | | | | | | | assignments during build, which potentially tried to rebuild a module we were currently building --HG-- branch : rebuild | ||||
* | remove infutils import in manager.py by adding a "instanciate_class" method. | Emile Anclin | 2010-03-03 | 1 | -5/+6 |
| | | | | | | | | We prepare this way a coming code rearrangement and avoid circular import. Remove "is_class_node" which was only used here. --HG-- branch : rebuild | ||||
* | _nodes doesn't depend on _nodes_<mode>, so we can use nodes in _nodes_<mode> | Emile Anclin | 2009-11-25 | 1 | -2/+3 |
| | | | | | --HG-- branch : rebuild | ||||
* | merge | Sylvain Thénault | 2009-11-23 | 1 | -1/+1 |
|\ | |||||
| * | [R] de-monkeypatching real_name and block_range | Emile Anclin | 2009-09-03 | 1 | -1/+1 |
| | | |||||
* | | include Dotan Barak spell fixes patch | Sylvain Thénault | 2009-11-23 | 1 | -3/+3 |
|/ | |||||
* | d-t-w | Sylvain Thénault | 2009-08-27 | 1 | -1/+1 |
| | |||||
* | add argument to have a non-borg manager | Sylvain Thénault | 2009-03-25 | 1 | -2/+3 |
| | |||||
* | handle zip/egg import | Sylvain Thénault | 2009-03-24 | 1 | -1/+30 |
| | |||||
* | (painful) merge | Sylvain Thénault | 2009-03-19 | 1 | -7/+7 |
|\ |