E&S CVS Commit: PyProtocols - Split out 'GenericFunction', 'defmethod', and 'when' into a separate

pje at eby-sarna.com pje at eby-sarna.com
Fri Nov 5 14:48:00 EST 2004

Module Name:	PyProtocols
Committed By:	pje
Date:		Fri Nov  5 19:47:41 UTC 2004

Modified Files:
	PyProtocols/src/dispatch: __init__.py strategy.py
	PyProtocols/src/protocols/tests: test_dispatch.py
Added Files:
	PyProtocols/src/dispatch: functions.py

Log Message:
Split out 'GenericFunction', 'defmethod', and 'when' into a separate
module, that they'll eventually share with 'SimpleGeneric' and other APIs.
Added an overview docstring to the 'strategy' module, and made the setup
of 'defmethod()' occur lazily, to avoid loading the parser modules until
they're actually needed.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 PyProtocols/src/dispatch/__init__.py \
cvs rdiff -r0 -r1.1 PyProtocols/src/dispatch/functions.py
cvs rdiff -r1.10 -r1.11 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