E&S CVS Commit: pylib [Simplification-Branch] - Added basic support for module inheritance and module advice, including a

pje at eby-sarna.com pje at eby-sarna.com
Sat Feb 9 17:09:00 EST 2002


Module Name:	pylib
Committed By:	pje
Date:		Sat Feb  9 22:08:02 UTC 2002

Modified Files:
	pylib/TW/API [Simplification-Branch]: Advisors.py Targets.py
	    __init__.py
	pylib/TW/tests [Simplification-Branch]: Components.py
Added Files:
	pylib/TW/API [Simplification-Branch]: Modules.py
	pylib/TW/tests [Simplification-Branch]: testM1.py testM2.py

Log Message:
Added basic support for module inheritance and module advice, including a
few basic tests.  Vertical inheritance can now also catch classes that
are accessed via module import, e.g "import foo; class bar(foo.baz):"
should be able to catch override of 'foo' in an inheriting module.
Next up: function rebinding support for module inheritance, and refactoring
TW.API and other packages to make use of module inheritance/advice where
possible.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/pylib/TW/API/Advisors.py.diff?r1=1.1.2.5&r2=1.1.2.6
http://cvs.eby-sarna.com/pylib/TW/API/__init__.py.diff?r1=1.1.2.5&r2=1.1.2.6
http://cvs.eby-sarna.com/pylib/TW/API/Modules.py?rev=1.1.2.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/pylib/TW/API/Targets.py.diff?r1=1.1.2.7&r2=1.1.2.8
http://cvs.eby-sarna.com/pylib/TW/tests/Components.py.diff?r1=1.8.2.4&r2=1.8.2.5
http://cvs.eby-sarna.com/pylib/TW/tests/testM1.py?rev=1.1.2.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/pylib/TW/tests/testM2.py?rev=1.1.2.1&content-type=text/vnd.viewcvs-markup

To generate a diff of this commit:
cvs rdiff -r1.1.2.5 -r1.1.2.6 pylib/TW/API/Advisors.py \
    pylib/TW/API/__init__.py
cvs rdiff -r0 -r1.1.2.1 pylib/TW/API/Modules.py
cvs rdiff -r1.1.2.7 -r1.1.2.8 pylib/TW/API/Targets.py
cvs rdiff -r1.8.2.4 -r1.8.2.5 pylib/TW/tests/Components.py
cvs rdiff -r0 -r1.1.2.1 pylib/TW/tests/testM1.py pylib/TW/tests/testM2.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