E&S CVS Commit: PyProtocols - Added 'sequenceOf()', allowing you to easily create a protocol that

pje at eby-sarna.com pje at eby-sarna.com
Tue Sep 9 19:20:01 EDT 2003


Module Name:	PyProtocols
Committed By:	pje
Date:		Tue Sep  9 23:19:19 UTC 2003

Modified Files:
	PyProtocols: CHANGES.txt
	PyProtocols/src/protocols: __init__.py generate.py
	PyProtocols/src/protocols/tests: __init__.py

Log Message:
Added 'sequenceOf()', allowing you to easily create a protocol that
represents a sequence of some base protocol, and automatically adapt basic
sequences (e.g. lists and tuples) to a "sequence of" the base protocol, as
long as all members of the input sequence can be adapted to the base
protocol.  By default, only lists and tuples are considered to support
'IBasicSequence'.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PyProtocols/CHANGES.txt.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PyProtocols/src/protocols/__init__.py.diff?r1=1.6&r2=1.7
http://cvs.eby-sarna.com/PyProtocols/src/protocols/generate.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PyProtocols/src/protocols/tests/__init__.py.diff?r1=1.9&r2=1.10

To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 PyProtocols/CHANGES.txt
cvs rdiff -r1.6 -r1.7 PyProtocols/src/protocols/__init__.py
cvs rdiff -r1.1 -r1.2 PyProtocols/src/protocols/generate.py
cvs rdiff -r1.9 -r1.10 PyProtocols/src/protocols/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