Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove test that does not work actually work consistently on all Python versions | Claudiu Popa | 2019-01-14 | 1 | -3/+0 |
| | |||||
* | Make sure the test does not crash if the directory already exists | Claudiu Popa | 2018-12-30 | 1 | -4/+7 |
| | |||||
* | Initial formatting of astroid | Claudiu Popa | 2018-10-02 | 1 | -106/+124 |
| | |||||
* | Update the copyright noticesastroid-2.0 | Claudiu Popa | 2018-07-15 | 1 | -0/+4 |
| | |||||
* | Include abspath of sys.path on searches at load_from_module | Mario Corchero | 2018-07-05 | 1 | -0/+32 |
| | | | | | | | | | | At the moment `load_from_module` is resolving all paths in `sys.path` to validate that the module being import is in a folder part of the path. This is done to resolve symlinks. This can be an issue though it both the file being imported and the path in `sys.path` resolve to different locations. Even if the symlinks are importable, the resolution of the paths in `sys.path` might not. | ||||
* | Fix import of symlinks outside of path with modutils (#546) | Mario Corchero | 2018-05-15 | 1 | -0/+22 |
| | | | | | | | | | Makes load_module_from_file able to import files within the path that are just a symlink to a file outside of the path. modutils is using realpath at the moment which will resolve the symlink and don't allow the import as the file is detected outside of the available paths. By checking both abspath and realpath this patches add support for such scenarios. | ||||
* | Fix some pylint errors over the code base. | Claudiu Popa | 2016-08-24 | 1 | -1/+1 |
| | |||||
* | Move the spec finder under a new namespace, interpreter._import. | Claudiu Popa | 2016-08-24 | 1 | -6/+11 |
| | |||||
* | Even more granular copyrights (thanks to copyrite) | Claudiu Popa | 2016-07-22 | 1 | -2/+6 |
| | |||||
* | Keep a consistent copyright notice across the board. | Claudiu Popa | 2016-07-19 | 1 | -0/+2 |
| | |||||
* | Remove superfluous boilerplate the first regex missed | Ceridwen | 2016-05-17 | 1 | -17/+0 |
| | |||||
* | Convert all files to new license header | Ceridwen | 2016-05-16 | 1 | -0/+3 |
| | |||||
* | Don't look for namespace packages implicitly into functions doing concrete ↵ | Claudiu Popa | 2016-05-10 | 1 | -14/+0 |
| | | | | imports. | ||||
* | Build a dummy module object for namespace directories and add a test for ↵ | Claudiu Popa | 2016-05-09 | 1 | -0/+1 |
| | | | | multiple directories contributing to the same namespace. | ||||
* | Implicit namespace package support for modpath_from_file for Python 3.3+. | Claudiu Popa | 2016-05-09 | 1 | -0/+13 |
| | |||||
* | Switch to a spec finder protocol for finding files or packages | Claudiu Popa | 2016-05-08 | 1 | -6/+6 |
| | |||||
* | Add a test for is_standard_module with datetime. | Claudiu Popa | 2015-12-15 | 1 | -0/+5 |
| | | | | | This is an interesting example, since datetime, on pypy, is under lib_pypy, rather than the usual Lib directory. | ||||
* | Cleanup pylint's warnings over astroid codebase | Claudiu Popa | 2015-12-14 | 1 | -47/+35 |
| | | | | | | | | | | Some of the messages were disabled in pylintrc, since they're not very useful for our case. Other parameters, such as the number of arguments / statements / attributes etc were configured so that they won't be too restrictive for our codebase, since making the code to respect them right now requires too much development changes, which is not justified by the end result. Closes issue #284. | ||||
* | Merge | Claudiu Popa | 2015-07-25 | 1 | -17/+17 |
|\ | |||||
| * | Get rid of logilab.common in unittest_modutils.py. | Florian Bruhin | 2015-07-25 | 1 | -17/+17 |
| | | | | | | | | | | | | | | | | It was only used as an example package with subpackages - now we use xml.etree.ElementTree for those checks instead. --HG-- branch : no-logilab-common | ||||
* | | Cleanup a test. | Claudiu Popa | 2015-07-25 | 1 | -7/+5 |
| | | |||||
* | | CR fixes | Radosław Ganczarek | 2015-07-25 | 1 | -2/+1 |
| | | |||||
* | | Proper argument name | Radosław Ganczarek | 2015-07-25 | 1 | -3/+3 |
| | | |||||
* | | Add option to search for all Python files in get_module_files | Radosław Ganczarek | 2015-07-25 | 1 | -0/+11 |
|/ | |||||
* | Fix pylint warnings over astroid, update the list of disabled messages in ↵ | Claudiu Popa | 2015-05-19 | 1 | -3/+1 |
| | | | | pylintrc. | ||||
* | Use realpath where it is necessary. | Claudiu Popa | 2015-03-30 | 1 | -2/+2 |
| | |||||
* | Fix the test. | Claudiu Popa | 2015-03-30 | 1 | -2/+2 |
| | |||||
* | drone.io debug. | Claudiu Popa | 2015-03-30 | 1 | -2/+1 |
| | |||||
* | Add debug output for drone.io | Claudiu Popa | 2015-03-30 | 1 | -0/+1 |
| | |||||
* | Add some fixes which enhances the Jython support. | Claudiu Popa | 2015-03-30 | 1 | -3/+9 |
| | | | | | | | The fix mostly includes updates to modutils, which is modified in order to properly lookup paths from live objects, which ends in $py.class, not pyc as for Python 2, Closes issue #83. | ||||
* | Remove all unused variables from the code base. | Claudiu Popa | 2015-01-29 | 1 | -2/+2 |
| | |||||
* | Remove all occurences of bad-whitespace. | Claudiu Popa | 2015-01-10 | 1 | -3/+3 |
| | |||||
* | Recognize modules loaded from $SYS_PREFIX\DLLs as standard library modules ↵ | Torsten Marek | 2014-11-16 | 1 | -0/+1 |
| | | | | on Windows. | ||||
* | Properly handle case-insensitive filesystems in modutils. | Torsten Marek | 2014-11-16 | 1 | -3/+0 |
| | |||||
* | Don't use self imports in tests since those are susceptible to CWD changes. | Torsten Marek | 2014-11-12 | 1 | -2/+2 |
| | |||||
* | Disable test_4 for Python 2, because imp.find_module is broken there as well. | Claudiu Popa | 2014-11-14 | 1 | -2/+2 |
| | |||||
* | Merge all test data into a single package per Python version. | Torsten Marek | 2014-11-09 | 1 | -56/+44 |
| | | | | | | | | | Also modernized a lot of test code. This makes it possible to run the tests from both the base directory of the project as well as the astroid package. Since the packages have the same name for Python 2 and 3, there is less version-dependent code in the tests. | ||||
* | Never load C extensions that are not from the standard library and also ↵ | Torsten Marek | 2014-11-09 | 1 | -9/+5 |
| | | | | | | never load any compiled Python files. Fixes pylint issue #347. | ||||
* | Move all astroid modules into a its own directory, which is now the package. | Torsten Marek | 2014-11-08 | 1 | -0/+280 |
python setup.py develop now works. |