summaryrefslogtreecommitdiffstats
path: root/Lib/imputil.py
Commit message (Collapse)AuthorAgeFilesLines
* Close SF patch 523944: importing modules with foreign newlines.Jeremy Hylton2002-06-281-1/+1
| | | | | | Didn't use the patch, because universal newlines support made it easy. It might be worth fixing the actual problem in the 2.2 maintenance branch, in which case the patch is still needed.
* Replaced obsolete stat module constants with equivalent attributesRaymond Hettinger2002-06-011-2/+2
|
* Replaced boolean test with is NoneRaymond Hettinger2002-06-011-1/+1
|
* SF #515012, cleanup: remove unused variableNeal Norwitz2002-02-111-1/+0
|
* Added docstring by Neal Norwitz. This closes SF bug #450979.Fred Drake2001-09-041-4/+10
|
* Patch #443337: Fix incompatibilities in imputil's behavior.Martin v. Löwis2001-07-281-1/+9
|
* Remove usage of strop module.Martin v. Löwis2001-07-281-5/+2
|
* Add an uninstall method to the ImportManager.Greg Stein2001-04-071-1/+9
| | | | This is the accepted portion of patch #402498.
* This change makes imputil more closely emulate the standard importThomas Heller2001-02-121-1/+2
| | | | mechanism to support self-modifying modules.
* a few more modules get __all__Skip Montanaro2001-01-241-0/+2
|
* Whitespace normalization.Tim Peters2001-01-141-6/+6
|
* Update the code to better reflect recommended style:Fred Drake2000-12-121-2/+2
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* no changes other than indentation level (now 4) and comment reflow.Greg Stein2000-07-181-485/+490
| | | | use "cvs diff -b" to verify.
* now that imputil is in the main Python repository, clean up the headerGreg Stein2000-06-261-16/+3
|
* add TODO sectionGreg Stein2000-02-191-0/+100
|
* reduce fsimp coupling: provide fs_imp param to ImportManager constructor,Greg Stein2000-02-181-48/+45
| | | | | | | add clsFilesystemImporter class attribute, alter handling of suffix list convert suffix importers to funcs rather than instances remove backwards compat code: Importer.install and 2-tuple get_code() result values
* shift demo importers to importers.py (destined for Demo/ ?)Greg Stein2000-02-181-227/+16
| | | | | | | | switch to isinstance() rather than direct type comparisons removing chaining concept update ImportManager.install() to take an optional namespace to install itself in. this will be useful for setting up rexec environments. minor comment nits
* redesign/rebuild around the ImportManager concept.Greg Stein2000-01-031-149/+291
|
* look for builtins before stuff on the path.Greg Stein1999-11-241-1/+1
|
* add loading of dynamic library modules.Greg Stein1999-11-241-4/+18
|
* turn SysPathImporter into PathImporter.Greg Stein1999-11-201-6/+7
|
* remove the __version__ global.Greg Stein1999-11-201-2/+0
|
* only put __path__ into package modules.Greg Stein1999-11-201-2/+1
|
* shift code from DirectoryImporter out to a common area.Greg Stein1999-11-201-64/+231
| | | | | | | | | | | remove use of "os" module (bootstrap issues) and go to the underlying platform-specific modules fix problem in _compile() (trapped wrong error on permission issues) add SysPathImporter and BuiltinImporter put __file__ into modules imported from the filesystem. [backwards compat] put __path__ into modules [backwards compat] oops: it is doing this for all modules, not just packages. comment and tweak to the PackageArchiveImporter
* Add some header comments to all the files.Greg Stein1999-11-071-0/+7
|
* initial checkin for my Python stuff.Greg Stein1999-11-071-0/+492