E&S CVS Commit: PyProtocols - Added 'MapCombiner' base class to support easy metadata merging for e.g.

pje at eby-sarna.com pje at eby-sarna.com
Wed Nov 24 15:27:01 EST 2004


Module Name:	PyProtocols
Committed By:	pje
Date:		Wed Nov 24 20:26:42 UTC 2004

Modified Files:
	PyProtocols: setup.py
	PyProtocols/src/dispatch: __init__.py functions.py
	PyProtocols/src/protocols/tests: test_dispatch.py
Added Files:
	PyProtocols/src/dispatch: combiners.py combiners.txt
	PyProtocols/src/protocols/tests: doctest.py

Log Message:
Added 'MapCombiner' base class to support easy metadata merging for e.g.
PEAK's future command-line options framework.  Added backported 'doctest'
so standalone PyProtocols can include test documents, and changed 'setup'
to install them.  Added code to let dispatchers and generic functions
accept strings as a key to __setitem__, which they parse using the caller's
namespace.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PyProtocols/setup.py.diff?r1=1.14&r2=1.15
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/__init__.py.diff?r1=1.8&r2=1.9
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/combiners.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/combiners.txt?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/functions.py.diff?r1=1.13&r2=1.14
http://cvs.eby-sarna.com/PyProtocols/src/protocols/tests/doctest.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PyProtocols/src/protocols/tests/test_dispatch.py.diff?r1=1.22&r2=1.23

To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 PyProtocols/setup.py
cvs rdiff -r1.8 -r1.9 PyProtocols/src/dispatch/__init__.py
cvs rdiff -r0 -r1.1 PyProtocols/src/dispatch/combiners.py \
    PyProtocols/src/dispatch/combiners.txt
cvs rdiff -r1.13 -r1.14 PyProtocols/src/dispatch/functions.py
cvs rdiff -r0 -r1.1 PyProtocols/src/protocols/tests/doctest.py
cvs rdiff -r1.22 -r1.23 PyProtocols/src/protocols/tests/test_dispatch.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