E&S CVS Commit: PEAK - Added exceptions for when a context in the terminal naming system does not

pje at eby-sarna.com pje at eby-sarna.com
Tue Dec 3 18:49:01 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Tue Dec  3 23:48:22 UTC 2002

Modified Files:
	PEAK/src/peak/naming: contexts.py

Log Message:
Added exceptions for when a context in the terminal naming system does not
support the required interface.  I think this "resolves" the last issues
with supporting the "resolve" operation; it's now up to the implementors of
contexts to do their thing.

One thing to consider, though...  should we make 'nameClass' default to
'CompositeName' now?  For flat namespaces, this would mean they'd get
automatic '/' support, so the NIS stuff wouldn't need to have specific
code for that, for example.  I'll have to see what Ty thinks and also
double-check that it won't break anything for URL contexts, etc.  I'd also
have to tweak _resolveComposite() so that if 'nameClass' is 'Composite'
that it wraps the recursive name call in a 'CompoundName'.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/naming/contexts.py.diff?r1=1.34&r2=1.35

To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 PEAK/src/peak/naming/contexts.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