summaryrefslogtreecommitdiffstats
path: root/Lib/imp.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-3/+3
| | | | | | | | importlib.machinery.(FileFinder, SourceFileLoader, _SourcelessFileLoader, ExtensionFileLoader). This exposes all of importlib's mechanisms that will become public on the sys module.
* Fix whitespace.Brett Cannon2012-04-221-1/+0
|
* Issue #13959: Re-implement imp.find_module() in Lib/imp.py.Brett Cannon2012-04-221-4/+68
| | | | Thanks to Eric Snow for taking an initial stab at the implementation.
* Don't worry about moving imp.get_tag() over to Lib/imp.py.Brett Cannon2012-04-211-2/+2
|
* Issue #13959: Re-implement imp.source_from_cache() in Lib/imp.py.Brett Cannon2012-04-211-1/+25
|
* Issue #13959: Re-implement imp.cache_from_source() in Lib/imp.py.Brett Cannon2012-04-211-3/+3
|
* Issue #13959: Keep imp.get_magic() in C code, but cache in importlibBrett Cannon2012-04-201-1/+3
| | | | | | for performance. While get_magic() could move to Lib/imp.py, having to support PyImport_GetMagicNumber() would lead to equal, if not more, C code than sticking with the status quo.
* Issue #13959: Re-implement imp.load_compiled() in imp.py.Brett Cannon2012-04-171-5/+20
|
* Properly guard against special-casing.Brett Cannon2012-04-171-1/+1
|
* Issue #13959: Re-implement imp.load_source() in imp.py.Brett Cannon2012-04-171-1/+28
|
* Issue #13959: Fix a logic bug.Brett Cannon2012-04-171-1/+1
|
* Issue #13959: Re-implement imp.load_package() in imp.py.Brett Cannon2012-04-161-2/+17
| | | | | Thanks to Eric Snow for helping with imp.load_module() (previous commit) which led to the removal of a bunch of C code.
* Issue #13959: Re-implement imp.load_module() in imp.py.Brett Cannon2012-04-161-1/+28
|
* Consider load_dynamic() something to keep in _imp.Brett Cannon2012-04-151-3/+4
|
* Issue #13959: Rename imp to _imp and add Lib/imp.py and beginBrett Cannon2012-04-151-0/+22
rewriting functionality in pure Python. To start, imp.new_module() has been rewritten in pure Python, put into importlib (privately) and then publicly exposed in imp.