E&S CVS Commit: PEAK - Made 'nameClass' default to 'CompositeName'. This allows flat namespaces

pje at eby-sarna.com pje at eby-sarna.com
Tue Dec 3 19:26:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Wed Dec  4 00:25:02 UTC 2002

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

Log Message:
Made 'nameClass' default to 'CompositeName'.  This allows flat namespaces
to now accept '/' in their names, with automatic continuation of operations
to the next naming context.  Change should be backward compatible for all
existing contexts.  If a context wants to implement a hierarchical
namespace, however, it should set 'nameClass' to a 'CompoundName' subclass,
URL contexts which wants to support schemeless URLs that can contain '/'
characters should set 'nameClass' to 'None'.  Currently, all our URL
contexts apart from 'nis:', 'getsybs:', and 'urlkeys:' do not support
such "schemeless" URLs, so worst case these are all we will have to change,
and there the change is limited to setting 'nameClass' appropriately.


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.35&r2=1.36

To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 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