E&S CVS Commit: PEAK - Initial refactoring of 'peak.web' to align its internal interfaces with

pje at eby-sarna.com pje at eby-sarna.com
Tue Sep 28 18:28:00 EDT 2004


Module Name:	PEAK
Committed By:	pje
Date:		Tue Sep 28 22:27:53 UTC 2004

Modified Files:
	PEAK/src/peak/web: environ.py errors.py interfaces.py places.py
	    publish.py resources.py skins.py templates.py
	PEAK/src/peak/web/tests: __init__.py
Added Files:
	PEAK/src/peak/web/tests: test_environ.py

Log Message:
Initial refactoring of 'peak.web' to align its internal interfaces with
PEP 333, and to support extensible namespace traversal (as described in:
http://www.eby-sarna.com/pipermail/peak/2004-August/001712.html ).  Also,
added unit tests for new functionality and some refactored functionality.

This refactoring will almost certainly break any non-trivial peak.web
application: that is, any application that publishes callables or defines
any 'handle_http()' or 'traverseTo()' methods.  Even if your app works,
there may be more breakage soon when the traversal mechanism itself gets
refactored, and even more when the template system gets refactored.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/web/environ.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/web/errors.py.diff?r1=1.8&r2=1.9
http://cvs.eby-sarna.com/PEAK/src/peak/web/interfaces.py.diff?r1=1.28&r2=1.29
http://cvs.eby-sarna.com/PEAK/src/peak/web/places.py.diff?r1=1.28&r2=1.29
http://cvs.eby-sarna.com/PEAK/src/peak/web/publish.py.diff?r1=1.35&r2=1.36
http://cvs.eby-sarna.com/PEAK/src/peak/web/resources.py.diff?r1=1.24&r2=1.25
http://cvs.eby-sarna.com/PEAK/src/peak/web/skins.py.diff?r1=1.16&r2=1.17
http://cvs.eby-sarna.com/PEAK/src/peak/web/templates.py.diff?r1=1.23&r2=1.24
http://cvs.eby-sarna.com/PEAK/src/peak/web/tests/__init__.py.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/PEAK/src/peak/web/tests/test_environ.py?rev=1.1&content-type=text/vnd.viewcvs-markup

To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 PEAK/src/peak/web/environ.py
cvs rdiff -r1.8 -r1.9 PEAK/src/peak/web/errors.py
cvs rdiff -r1.28 -r1.29 PEAK/src/peak/web/interfaces.py \
    PEAK/src/peak/web/places.py
cvs rdiff -r1.35 -r1.36 PEAK/src/peak/web/publish.py
cvs rdiff -r1.24 -r1.25 PEAK/src/peak/web/resources.py
cvs rdiff -r1.16 -r1.17 PEAK/src/peak/web/skins.py
cvs rdiff -r1.23 -r1.24 PEAK/src/peak/web/templates.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/web/tests/__init__.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/web/tests/test_environ.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