summaryrefslogtreecommitdiff
path: root/modutils.py
Commit message (Collapse)AuthorAgeFilesLines
* Move all astroid modules into a its own directory, which is now the package.Torsten Marek2014-11-081-638/+0
| | | | python setup.py develop now works.
* Merged in dlax/astroid (pull request #59)Claudiu Popa2014-10-301-1/+4
|\ | | | | | | [modutils] Ensure module is actually in sys.modules in pkg_resources support
| * [modutils] Ensure module is actually in sys.modules in pkg_resources supportDenis Laxalde2014-10-241-1/+4
| | | | | | | | | | | | Wrap the long line along the way. Closes #52.
* | modutils._module_file opens __init__.py in binary mode.Claudiu Popa2014-10-301-2/+2
|/ | | | | | The actual code cares only for the existence of two strings, so there's no need to use an encoding. Closes issues #51 and #13.
* pylint source codeSylvain Thénault2014-07-251-9/+9
|
* [modutils] Use a cache when abspathing sys.path for file_from_modpath.Eevee (Alex Munroe)2014-07-251-4/+18
| | | | | | | | This adds a dumb cache. There's no eviction, so there's the risk of eating memory if sys.path is changed frequently or _module_file is called very many times with different path arguments, but those both seem unlikely. Closes #235354.
* Oups, fix a mistake.Claudiu Popa2014-07-251-1/+1
|
* Fix.Claudiu Popa2014-07-251-1/+1
|
* Don't use 0 and 1 anymore.Claudiu Popa2014-07-251-4/+4
|
* Use os.path.sep instead of hardcoding the separator.Claudiu Popa2014-07-241-2/+2
|
* cleanup and fix modutils tests (among other, logilab.common.modutils was ↵Sylvain Thénault2014-07-241-6/+5
| | | | still actually tested)
* backport (most of) logilab.common.modutils and related tests into astroid itselfSylvain Thénault2014-07-231-0/+622
most of this code is for astroid/pylint only.