E&S CVS Commit: PyProtocols - Move API decorators (as, on, generic) up into __init__, so that the rest

pje at eby-sarna.com pje at eby-sarna.com
Thu Nov 11 15:44:01 EST 2004


Module Name:	PyProtocols
Committed By:	pje
Date:		Thu Nov 11 20:43:49 UTC 2004

Modified Files:
	PyProtocols/src/dispatch: __init__.py functions.py predicates.py
	PyProtocols/src/protocols/tests: test_dispatch.py test_parsing.py

Log Message:
Move API decorators (as, on, generic) up into __init__, so that the rest
of the package is only imported if needed.  (E.g., if you only use
'dispatch.as', it doesn't import any dispatch module but 'interfaces'.)


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/__init__.py.diff?r1=1.6&r2=1.7
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/functions.py.diff?r1=1.9&r2=1.10
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/predicates.py.diff?r1=1.3&r2=1.4
http://cvs.eby-sarna.com/PyProtocols/src/protocols/tests/test_dispatch.py.diff?r1=1.19&r2=1.20
http://cvs.eby-sarna.com/PyProtocols/src/protocols/tests/test_parsing.py.diff?r1=1.13&r2=1.14

To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 PyProtocols/src/dispatch/__init__.py
cvs rdiff -r1.9 -r1.10 PyProtocols/src/dispatch/functions.py
cvs rdiff -r1.3 -r1.4 PyProtocols/src/dispatch/predicates.py
cvs rdiff -r1.19 -r1.20 PyProtocols/src/protocols/tests/test_dispatch.py
cvs rdiff -r1.13 -r1.14 PyProtocols/src/protocols/tests/test_parsing.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