diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-14 23:47:14 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-14 23:47:14 (GMT) |
commit | 07e99cb77406e1bc84606f49b743e41b0de8a6d5 (patch) | |
tree | b922cda3a970bffa797269fd550f8d8b032afe5b /Lib/imputil.py | |
parent | 88869f9787cd4ceb2298e4b13980beb057687824 (diff) | |
download | cpython-07e99cb77406e1bc84606f49b743e41b0de8a6d5.zip cpython-07e99cb77406e1bc84606f49b743e41b0de8a6d5.tar.gz cpython-07e99cb77406e1bc84606f49b743e41b0de8a6d5.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/imputil.py')
-rw-r--r-- | Lib/imputil.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/imputil.py b/Lib/imputil.py index 0dd7b51..ca359e95 100644 --- a/Lib/imputil.py +++ b/Lib/imputil.py @@ -5,7 +5,7 @@ ### docco needed here and in Docs/ ... # note: avoid importing non-builtin modules -import imp ### not available in JPython? +import imp ### not available in JPython? import sys import strop import __builtin__ @@ -15,7 +15,7 @@ import struct import marshal _StringType = type('') -_ModuleType = type(sys) ### doesn't work in JPython... +_ModuleType = type(sys) ### doesn't work in JPython... class ImportManager: "Manage the import process." @@ -663,7 +663,7 @@ def _test_revamp(): # # # Guido's comments on sys.path caching: -# +# # We could cache this in a dictionary: the ImportManager can have a # cache dict mapping pathnames to importer objects, and a separate # method for coming up with an importer given a pathname that's not yet @@ -679,16 +679,16 @@ def _test_revamp(): # My/Guido's comments on factoring ImportManager and Importer: # # > However, we still have a tension occurring here: -# > +# > # > 1) implementing policy in ImportManager assists in single-point policy # > changes for app/rexec situations # > 2) implementing policy in Importer assists in package-private policy # > changes for normal, operating conditions -# > +# > # > I'll see if I can sort out a way to do this. Maybe the Importer class will # > implement the methods (which can be overridden to change policy) by # > delegating to ImportManager. -# +# # Maybe also think about what kind of policies an Importer would be # likely to want to change. I have a feeling that a lot of the code # there is actually not so much policy but a *necessity* to get things |