| 
									
										
										
										
											2009-01-18 00:24:28 +00:00
										 |  |  | to do | 
					
						
							|  |  |  | ///// | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-09 21:51:29 +00:00
										 |  |  | * Refactor source/bytecode finder/loader code such that bytecode support is a | 
					
						
							|  |  |  |   subclass of source support (makes it nicer for VMs that don't use CPython | 
					
						
							|  |  |  |   bytecode). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-21 03:31:35 +00:00
										 |  |  |     + PyLoader (for ABC) | 
					
						
							| 
									
										
										
										
											2009-02-17 07:15:17 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-21 03:53:06 +00:00
										 |  |  |         - load_module for source only | 
					
						
							| 
									
										
										
										
											2009-02-17 07:15:17 +00:00
										 |  |  |         - get_code for source only | 
					
						
							| 
									
										
										
										
											2009-02-21 03:31:35 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |     + PyFileLoader(PyLoader) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 07:15:17 +00:00
										 |  |  |         - get_data | 
					
						
							|  |  |  |         - source_mtime | 
					
						
							|  |  |  |         - source_path | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-21 03:31:35 +00:00
										 |  |  |     +PyPycLoader (PyLoader, for ABC) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-21 03:53:06 +00:00
										 |  |  |         - load_module for source and bytecode | 
					
						
							| 
									
										
										
										
											2009-02-21 03:31:35 +00:00
										 |  |  |         - get_code for source and bytecode | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |     + PyPycFileLoader(PyPycLoader, PyFileLoader) | 
					
						
							| 
									
										
										
										
											2009-02-17 07:15:17 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |         - bytecode_path | 
					
						
							|  |  |  |         - write_bytecode | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-26 01:54:40 +00:00
										 |  |  | * Implement PEP 302 protocol for loaders (should just be a matter of testing). | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     + Source/bytecode. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-06 00:07:49 +00:00
										 |  |  | * Public API left to expose (w/ docs!) | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |     + abc | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         - Finder | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |             * find_module | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |         - Loader | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |             * load_module | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |         - (?) Importer(Finder, Loader) | 
					
						
							|  |  |  |         - ResourceLoader(Loader) | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |             * get_data | 
					
						
							| 
									
										
										
										
											2009-02-06 00:07:49 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |         - InspectLoader(Loader) | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |             * is_package | 
					
						
							|  |  |  |             * get_code | 
					
						
							|  |  |  |             * get_source | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |         - (?) SourceLoader(ResourceLoader) | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |             * source_path | 
					
						
							|  |  |  |             * bytecode_path | 
					
						
							|  |  |  |             * write_bytecode (not abstract) | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |     + util | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |         - set___package__ decorator | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |     + machinery | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |         - Extensions importers | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |             * ExtensionFinder | 
					
						
							|  |  |  |             * (?) Loader | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |         - Source/bytecode importers | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |             * SourceFinder | 
					
						
							|  |  |  |             * (?) Loader | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-21 02:51:12 +00:00
										 |  |  |     + test (Really want to worry about compatibility with future versions?) | 
					
						
							| 
									
										
										
										
											2009-01-22 22:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |         - abc | 
					
						
							| 
									
										
										
										
											2009-01-18 00:36:55 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-17 02:45:03 +00:00
										 |  |  |             * FinderTests [doc] | 
					
						
							|  |  |  |             * LoaderTests [doc] | 
					
						
							| 
									
										
										
										
											2009-02-07 01:15:27 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-21 03:12:17 +00:00
										 |  |  | * Remove ``import *`` from importlib.__init__. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Remove __all__ from importlib._bootstrap. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Add leading underscores to all objects in importlib._bootstrap that are not | 
					
						
							|  |  |  |   publicly exposed. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-16 04:18:01 +00:00
										 |  |  | * Make sure that there is documentation *somewhere* fully explaining the | 
					
						
							|  |  |  | semantics of import that can be referenced from the package's documentation | 
					
						
							|  |  |  | (even if it is in the package documentation itself, although it might be best | 
					
						
							|  |  |  | in the language specification). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-01 05:55:23 +00:00
										 |  |  | * Write benchmark suite. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * OPTIMIZE! | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-02-06 00:07:49 +00:00
										 |  |  |   + Fast path absolute name. | 
					
						
							|  |  |  |   + Fast path pulling from sys.modules. | 
					
						
							| 
									
										
										
										
											2009-02-01 05:55:23 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-18 00:36:55 +00:00
										 |  |  | * Bootstrap importlib as implementation of builtins.__import__ | 
					
						
							| 
									
										
										
										
											2009-02-02 20:32:29 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | * Replace standard library modules. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   + imp | 
					
						
							|  |  |  |   + py_compile | 
					
						
							|  |  |  |   + compileall |