E&S CVS Commit: PEAK - Added an optional 'base' argument to 'naming.parseURL()', to allow parsing

pje at eby-sarna.com pje at eby-sarna.com
Thu Oct 21 22:55:01 EDT 2004


Module Name:	PEAK
Committed By:	pje
Date:		Fri Oct 22 02:54:53 UTC 2004

Modified Files:
	PEAK: CHANGES.txt
	PEAK/src/peak/naming: api.py interfaces.py
	PEAK/src/peak/naming/factories: openable.py
	PEAK/src/peak/naming/tests: __init__.py

Log Message:
Added an optional 'base' argument to 'naming.parseURL()', to allow parsing
URLs relative to a base URL.  For a URL scheme to support this, it must
implement the new 'naming.IBaseURL' interface.  See the
'peak.naming.factories.openable' module for example implementations.

Also, changed 'pkgfile:' URL implementation to actually track its 'module'
and 'path' parts separately, so that it can implement relative URLs
safely.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.156&r2=1.157
http://cvs.eby-sarna.com/PEAK/src/peak/naming/api.py.diff?r1=1.26&r2=1.27
http://cvs.eby-sarna.com/PEAK/src/peak/naming/interfaces.py.diff?r1=1.46&r2=1.47
http://cvs.eby-sarna.com/PEAK/src/peak/naming/factories/openable.py.diff?r1=1.26&r2=1.27
http://cvs.eby-sarna.com/PEAK/src/peak/naming/tests/__init__.py.diff?r1=1.28&r2=1.29

To generate a diff of this commit:
cvs rdiff -r1.156 -r1.157 PEAK/CHANGES.txt
cvs rdiff -r1.26 -r1.27 PEAK/src/peak/naming/api.py
cvs rdiff -r1.46 -r1.47 PEAK/src/peak/naming/interfaces.py
cvs rdiff -r1.26 -r1.27 PEAK/src/peak/naming/factories/openable.py
cvs rdiff -r1.28 -r1.29 PEAK/src/peak/naming/tests/__init__.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