Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add the missing importlib.test.extension.util. | Brett Cannon | 2009-02-07 | 1 | -0/+21 |
| | |||||
* | Update NOTES for importlib now that a replacement for functools.wraps is | Brett Cannon | 2009-02-07 | 1 | -1/+1 |
| | | | | available. | ||||
* | Create a simple substitute for functools.wraps to use in importlib._bootstrap. | Brett Cannon | 2009-02-07 | 2 | -5/+10 |
| | |||||
* | Factor out helper code from importlib.test.extension.test_path_hook. | Brett Cannon | 2009-02-07 | 6 | -42/+21 |
| | |||||
* | Add a note for importlib about backporting some of functools.wraps ↵ | Brett Cannon | 2009-02-07 | 1 | -1/+4 |
| | | | | functionality. | ||||
* | Move importlib completely over to using rpartition and accepting the empty | Brett Cannon | 2009-02-07 | 4 | -15/+22 |
| | | | | string for top-level modules. | ||||
* | Move importlib's built-in importer to use rpartition for __package__. | Brett Cannon | 2009-02-07 | 2 | -2/+4 |
| | |||||
* | Move importlib's frozen importer over to rpartition for setting __package__. | Brett Cannon | 2009-02-07 | 2 | -5/+4 |
| | |||||
* | Rewrite the code implementing __import__ for importlib. Now it is much simpler | Brett Cannon | 2009-02-07 | 8 | -495/+106 |
| | | | | | | | | | and relies much more on meta path finders to abstract out various parts of import. As part of this the semantics for import_module tightened up and now follow __import__ much more closely (biggest thing is that the 'package' argument must now already be imported, else a SystemError is raised). | ||||
* | Initial, untested stab at writing a common denominator function for __import__ | Brett Cannon | 2009-02-06 | 2 | -0/+56 |
| | | | | and import_module. | ||||
* | Finish implementing tests for importlib.machinery.PathFinder by testing that | Brett Cannon | 2009-02-06 | 2 | -14/+31 |
| | | | | implicit hooks are handled properly. | ||||
* | Add tests for using sys.path_hooks by importlib.machinery.PathFinder. | Brett Cannon | 2009-02-05 | 2 | -3/+11 |
| | |||||
* | Implement test for sys.path_importer_cache having None for | Brett Cannon | 2009-02-05 | 1 | -2/+14 |
| | | | | importlib.machinery.PathFinder. | ||||
* | Update NOTES for importlib about PathFinder. | Brett Cannon | 2009-02-05 | 1 | -0/+2 |
| | |||||
* | Begin writing tests for importlib.machinery.PathFinder. | Brett Cannon | 2009-02-05 | 1 | -1/+57 |
| | |||||
* | Check in the fact that importlib.machinery.PathFinder now exists. | Brett Cannon | 2009-02-05 | 1 | -0/+1 |
| | |||||
* | Rename importlib._bootstrap.SysPathFinder to PathFinder and expose off of | Brett Cannon | 2009-02-05 | 1 | -18/+16 |
| | | | | importlib.machinery. Also make the methods either class or staticmethods. | ||||
* | Add some notes for importlib to package up what is in Python 2.7 as well as ↵ | Brett Cannon | 2009-02-02 | 1 | -0/+8 |
| | | | | modules that can probably get replaced by importlib at some point. | ||||
* | To prevent another screw-up on my part where my prototype gets lost thanks to | Brett Cannon | 2009-02-02 | 1 | -0/+76 |
| | | | | | | an ``svn revert`` (gee, maybe more atomic commits by use of something like a DVCS would help with this? Wish someone would get on that ...), I am checking in an untested, work-in-progress meta path finder to handle sys.path. | ||||
* | Note to move __package__ stuff over to rpartition to make Nick happy. Also make | Brett Cannon | 2009-02-02 | 1 | -0/+4 |
| | | | | sure that accepting the empty string for top-level modules is okay. | ||||
* | Simplify write_bytecode for importlib. | Brett Cannon | 2009-02-01 | 1 | -30/+7 |
| | |||||
* | Update importlib notes. | Brett Cannon | 2009-02-01 | 1 | -12/+11 |
| | |||||
* | Ditch read_source() and read_bytecode() and replace with *_path() and | Brett Cannon | 2009-02-01 | 2 | -40/+8 |
| | | | | get_data(). | ||||
* | Expose source_path and bytecode_path on _PyFileLoader. | Brett Cannon | 2009-02-01 | 2 | -11/+13 |
| | |||||
* | Remove an outdated todo item from importlib. | Brett Cannon | 2009-02-01 | 1 | -6/+0 |
| | |||||
* | Move import semantic util code to importlib.test.import_.util. | Brett Cannon | 2009-02-01 | 10 | -92/+99 |
| | |||||
* | Rename importlib.test.support to importlib.test.util. | Brett Cannon | 2009-02-01 | 22 | -191/+163 |
| | |||||
* | Do not execute the .pyc/.pyo files as well as the .py files. | Brett Cannon | 2009-02-01 | 1 | -1/+4 |
| | |||||
* | Split out support code that is specific to source tests out of | Brett Cannon | 2009-02-01 | 8 | -113/+123 |
| | | | | importlib.test.support to importlib.test.source.util. | ||||
* | Move source loader tests (including reload tests) over to | Brett Cannon | 2009-02-01 | 3 | -77/+72 |
| | | | | importlib.test.abc.LoaderTests. | ||||
* | Fix importlib.machinery.FrozenImporter.load_module() to set __package__ | Brett Cannon | 2009-02-01 | 3 | -20/+57 |
| | | | | | properly. Discovered by also moving the loader tests over to importlib.test.abc.LoaderTests. | ||||
* | Move extension module loader tests over to importlib.test.abc.LoaderTests. | Brett Cannon | 2009-02-01 | 2 | -4/+22 |
| | |||||
* | Move built-in loader tests to importlib.test.abc.LoaderTests. | Brett Cannon | 2009-02-01 | 2 | -5/+24 |
| | |||||
* | Merge testing ABCs for importlib into importlib.test.abc. | Brett Cannon | 2009-01-30 | 6 | -47/+45 |
| | |||||
* | Initial take on importlib.test.loader_tests. | Brett Cannon | 2009-01-27 | 2 | -8/+66 |
| | |||||
* | Update importlib NOTES. | Brett Cannon | 2009-01-27 | 1 | -2/+9 |
| | |||||
* | Move importlib.test.frozen.test_finder over to importlib.test.finder_tests. | Brett Cannon | 2009-01-27 | 1 | -5/+8 |
| | |||||
* | Move importlib.test.builtin.test_finder over to importlib.test.finder_tests. | Brett Cannon | 2009-01-27 | 1 | -8/+27 |
| | |||||
* | Make importlib.test.finder_tests an ABC. | Brett Cannon | 2009-01-27 | 1 | -14/+14 |
| | |||||
* | Move importlib.test.extension.test_finder over to importlib.test.finder_tests. | Brett Cannon | 2009-01-27 | 1 | -2/+19 |
| | |||||
* | Update NOTES for importlib. | Brett Cannon | 2009-01-26 | 1 | -18/+8 |
| | |||||
* | Document both importlib.machinery.BuiltinImporter and FrozenImporter. | Brett Cannon | 2009-01-25 | 2 | -8/+2 |
| | |||||
* | Add some comment markers to more clearly delineate what different parts of the | Brett Cannon | 2009-01-22 | 1 | -1/+5 |
| | | | | | code are for. Also add a note that the import * at the end of the file should eventually go away. | ||||
* | Add importlib.machinery with its first tenants, BuitinImporter and | Brett Cannon | 2009-01-22 | 7 | -75/+68 |
| | | | | | | | | FrozenImporter. Docs forthcoming. I plan on all finders and loaders (and most likely hooks) to live in imoprtlib.machinery. Utility stuff will end up in importlib.util. Higher-level API stuff will stay on imoprtlib directly (e.g. import_module). | ||||
* | Document the (very small) public API for importlib. As time goes on and some | Brett Cannon | 2009-01-20 | 2 | -30/+30 |
| | | | | key refactorings occur more of the API will be exposed and documented. | ||||
* | Remove a debugging print statement that accidentally got left in. | Brett Cannon | 2009-01-19 | 1 | -1/+0 |
| | |||||
* | Fix a typo in some code that is not tested or supported yet. | Brett Cannon | 2009-01-19 | 1 | -1/+1 |
| | | | | Closes issue 4993. Thanks Antoine Pitrou for the catch. | ||||
* | Tests of case-sensitivity were being executed on OSs which did not have a | Brett Cannon | 2009-01-18 | 3 | -4/+13 |
| | | | | | | case-insensitive file system, leading to test failures. This was due to using the TestCase objects directly instead of the guard in the test_main() function. Move over to a class decorator instead to control if the tests should be run. | ||||
* | NOTES for importlib should mention the ultimate end-goal for the package. | Brett Cannon | 2009-01-18 | 1 | -0/+2 |
| | |||||
* | Skip over any file or folder that starts with a dot (e.g. .svn). | Brett Cannon | 2009-01-18 | 1 | -0/+3 |
| |