New Features and Bug Fixes since v0.2, preview 1 |
New Features and Bug Fixes since v0.2, preview 1 |
|
|
|
* Added a 'test' command to 'setup.py' that installs and then tests all of |
|
TransWarp. (It saves me time running the unit tests while I'm writing |
|
new code.) |
|
|
|
* Added warnings for detectable module-level modifications of mutables |
|
in modules which are used for inheritances or advice. Added an API |
|
function, 'configure(object, attr1=val, attr2=val,...)' to safely |
|
set attributes of mutables that might have been defined in a derived |
|
module. |
|
|
|
* Removed 'Meta.ClassInit' and '__class_init__' support. Use metaclass |
|
'__init__' methods instead; see 'TW.Database.DataModel.RecordTypeMC' |
|
for one example of the conversion. |
|
|
|
* Added 'SEF.bindToParent()', 'SEF.bindToNames()', and 'SEF.bindToSelf()' |
|
descriptors, to allow more flexible component parameter bindings. |
|
|
|
* Improved key integrity checks in DataModel: Record objects now disallow |
|
modification of key fields unless the old value is None, and cache |
|
collisions between records with supposedly unique keys will result in an |
|
AssertionError. |
|
|
* Added 'SET' method (ala WarpCORE's set_X procedures) to |
* Added 'SET' method (ala WarpCORE's set_X procedures) to |
TW.Utils.MiniTable. |
TW.Utils.MiniTable. |
|
|
|
|
* Dropped obsolete 'TW.Database.Records' module. |
* Dropped obsolete 'TW.Database.Records' module. |
|
|
* Added 'SEF.bindToParent()' and 'SEF.bindToNames()' specifiers to allow |
|
more flexible component parameter bindings. |
|
|
|
* Fixed the base class "rebind by name" bugs in module inheritance, and |
* Fixed the base class "rebind by name" bugs in module inheritance, and |
updated the documentation to more clearly reflect what it is that |
updated the documentation to more clearly reflect what it is that |
metaclass generation and module inheritance does and does not do. Added |
metaclass generation and module inheritance does and does not do. Added |