E&S CVS Commit: PEAK - Cleaned up import string syntax; ':' is still recognized, but is now
pje at eby-sarna.com
pje at eby-sarna.com
Sat Apr 19 15:01:00 EDT 2003
Module Name: PEAK
Committed By: pje
Date: Sat Apr 19 19:00:53 UTC 2003
Modified Files:
PEAK/src/peak/util: imports.py
Log Message:
Cleaned up import string syntax; ':' is still recognized, but is now
undocumented and deprecated. We now use a "'getattr()' first and
'__import__()' second" algorithm similar to that used by ZConfig. While it
is still subject to ambiguity (it believes what a module puts inside of
itself over what 'sys.modules' says), it is also more robust. Our old
algorithm was subject to quirkyness that this one should not be.
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/util/imports.py.diff?r1=1.8&r2=1.9
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 PEAK/src/peak/util/imports.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
More information about the source-changes
mailing list