summaryrefslogtreecommitdiff
path: root/manager.py
Commit message (Collapse)AuthorAgeFilesLines
* Move all astroid modules into a its own directory, which is now the package.Torsten Marek2014-11-081-348/+0
| | | | python setup.py develop now works.
* Make the source compatible with Python 2.7 and 3.3+.Claudiu Popa2014-10-271-8/+9
|
* pylint source codeSylvain Thénault2014-07-251-5/+5
|
* Fix the test order issue by clearing the cache once more after ↵Torsten Marek2014-07-241-3/+0
| | | | unittest_regrtest.
* more test fixes to avoid inter-dependency issuesSylvain Thénault2014-07-241-0/+9
|
* temporarily add some prints to diagnose the drone.io failureSylvain Thénault2014-07-241-0/+3
|
* backport (most of) logilab.common.modutils and related tests into astroid itselfSylvain Thénault2014-07-231-3/+4
| | | | most of this code is for astroid/pylint only.
* Add missing importJulien Cristau2014-06-041-1/+2
|
* Only cache modules if no other module with the same name is known yet, andTorsten Marek2014-04-261-1/+4
| | | | only return cached modules if name and filepath match.
* Avoid an (expensive) exception in transform.Eevee (Alex Munroe)2014-04-081-5/+7
|
* call transformation for builtin modules as well (though not yet for their ↵Sylvain Thénault2014-03-191-0/+27
| | | | child nodes)
* use new style classSylvain Thénault2013-11-051-1/+2
|
* rename all astroid_from* method, introduced by sed, into ast_from*Sylvain Thénault2013-07-241-13/+13
|
* [transforms] allow transformation functions on any nodes, not only modulesSylvain Thénault2013-06-181-3/+10
|
* rename the project astroidDavid Douard2013-06-171-68/+68
|
* import cleanupsSylvain Thénault2013-03-291-2/+1
| | | | | --HG-- branch : stable
* minor cleanups: drop copyright by me, update others to 2013, droip those in ↵Sylvain Thénault2013-03-281-3/+1
| | | | | | | dumb test data files, delete some trailing whitespaces --HG-- branch : stable
* closes #77253: provide a way for user code to register astng transformersSylvain Thénault2011-09-291-1/+3
|
* fix some copyrightsSylvain Thénault2011-09-271-14/+1
|
* closes #74746: should return empty module when __main__ is importedSylvain Thénault2011-09-071-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énault2011-01-111-3/+1
| | | | proper building exception
* change ASTManager cache attribute to astng_cache so it doesn't sound ↵Sylvain Thénault2011-01-111-7/+7
| | | | protected (actually used externally)
* mergeEmile Anclin2010-12-151-12/+2
|\
| * manager / cleanup: let Pylint catch the errorsEmile Anclin2010-11-221-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 methodEmile Anclin2010-12-141-101/+6
| |
* | minor cleanup: remove useless optional attributesEmile Anclin2010-12-131-11/+10
|/
* reduce circular imports I: import exceptions directlyEmile Anclin2010-12-021-1/+1
| | | | - rename exceptions module: it's exported to Pylint anyway
* fix zipe-safe egg import: check if the imported module is a packageEmile Anclin2010-10-271-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 argumentEmile Anclin2010-10-181-1/+1
|
* ASTNGManager: remove useless "borg=False" optionEmile Anclin2010-10-121-8/+3
|
* backport stableSylvain Thénault2010-10-111-4/+6
|\
| * support source argument to force consideration of file as a python source fileSylvain Thénault2010-10-111-4/+6
| | | | | | | | | | --HG-- branch : stable
* | py3k: remove has_key methods from unused codeEmile Anclin2010-10-051-5/+5
|/
* remove sys.path.insert from project_from_filesEmile Anclin2010-09-021-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énault2010-04-281-5/+19
|
* more license updatesSylvain Thénault2010-04-261-3/+3
|
* catch SystemError as well, we may get that on badly intialized compiled modulesSylvain Thénault2010-03-231-1/+3
|
* prepare 0.20.0 releaseEmile Anclin2010-03-221-2/+2
|
* remove disabled "set_cache_size" method; cleanupEmile Anclin2010-03-171-20/+13
| | | | | --HG-- branch : rebuild
* don't use a stack for InferenceContext.pathEmile Anclin2010-03-171-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 Anclin2010-03-171-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 Anclin2010-03-031-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 Anclin2009-11-251-2/+3
| | | | | --HG-- branch : rebuild
* mergeSylvain Thénault2009-11-231-1/+1
|\
| * [R] de-monkeypatching real_name and block_rangeEmile Anclin2009-09-031-1/+1
| |
* | include Dotan Barak spell fixes patchSylvain Thénault2009-11-231-3/+3
|/
* d-t-wSylvain Thénault2009-08-271-1/+1
|
* add argument to have a non-borg managerSylvain Thénault2009-03-251-2/+3
|
* handle zip/egg importSylvain Thénault2009-03-241-1/+30
|
* (painful) mergeSylvain Thénault2009-03-191-7/+7
|\