Jump to revision: | |
---|---|
Author: | pje |
Date: | Sat Apr 5 18:18:41 2003 UTC (21 years ago) |
Log Message:
Package inheritance support: 'config.setupModule()' now automatically munges the '__path__' of inheriting packages for you. Also, '__bases__' can now contain '/'-separated relative or absolute paths to the desired base modules (i.e. you don't have to import them yourself). Last, but not least, you can now inherit from modules that don't call 'setupModule()'! This means that you can now re-use code from non-PEAK packages and totally bend them to your will! As long as their code is 1) pure Python, and 2) available from a .py or .pyc file on disk, that is. Documented these new features, updated tests and other misc. code to match.
Changed paths:
Path | Action | Text Changes | Prop Changes | Diff to Previous |
---|---|---|---|---|
PEAK/src/peak/config/modules.py | modified | X | (diff to previous) | |
PEAK/src/peak/config/tests/testM1.py | modified | X | (diff to previous) | |
PEAK/src/peak/metamodels/UML13/Foundation/Core.py | modified | X | (diff to previous) | |
PEAK/src/peak/metamodels/UML13/Foundation/__init__.py | modified | X | (diff to previous) | |
PEAK/src/peak/metamodels/UML13/__init__.py | modified | X | (diff to previous) | |
PEAK/src/peak/util/imports.py | modified | X | (diff to previous) |
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |