summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/machinery.py
Commit message (Collapse)AuthorAgeFilesLines
* Implement PEP 451 (ModuleSpec).Eric Snow2013-11-221-0/+1
|
* Issue #15576: Allow extension modules to be a package's __init__Brett Cannon2012-08-101-2/+2
| | | | | module again. Also took the opportunity to stop accidentally exporting _imp.extension_suffixes() as public.
* Close #15519: Properly expose WindowsRegistryFinder in importlib and bring ↵Nick Coghlan2012-08-021-0/+1
| | | | the name into line with normal import terminology. Original patch by Eric Snow
* Close #15387: inspect.getmodulename() now uses a new ↵Nick Coghlan2012-07-181-0/+4
| | | | importlib.machinery.all_suffixes() API rather than the deprecated inspect.getmoduleinfo()
* Issue #13959: Deprecate imp.get_suffixes() for new attributes onBrett Cannon2012-05-111-0/+6
| | | | | | | | | | | importlib.machinery that provide the suffix details for import. The attributes were not put on imp so as to compartmentalize everything importlib needs for setting up imports in importlib.machinery. This also led to an indirect deprecation of inspect.getmoduleinfo() as it directly returned imp.get_suffix's returned tuple which no longer makes sense.
* Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoader.Marc-Andre Lemburg2012-04-251-1/+1
| | | | | This time also recreating the Python/importlib.h file to make make happy. See the ticket for details.
* Issue #14605: Revert renaming of _SourcelessFileLoader, since it causedMarc-Andre Lemburg2012-04-251-1/+1
| | | | the buildbots to fail.
* Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoaderMarc-Andre Lemburg2012-04-241-1/+1
|
* Issue #14605: Expose importlib.abc.FileLoader andBrett Cannon2012-04-221-0/+4
| | | | | | | | importlib.machinery.(FileFinder, SourceFileLoader, _SourcelessFileLoader, ExtensionFileLoader). This exposes all of importlib's mechanisms that will become public on the sys module.
* Check in the fact that importlib.machinery.PathFinder now exists.Brett Cannon2009-02-051-0/+1
|
* Add importlib.machinery with its first tenants, BuitinImporter andBrett Cannon2009-01-221-0/+4
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).