From: Stephan Diehl <stephan.diehl@gm...> - 2003-08-19 16:59:45
has anybody attempted already, to port webware (or at least the "servlets") to
new style classes?
The simple approach, just to add "__metaclass__ = type" to
MiscUtils/NamedValueAccess.py unfortunatelly fails due to the incompatability
of UserDict and the new style classes. Since I have only a foggy idea about
the internals, I don't know if this can easily repaired, or not.
Why do I think, that it would be nice to have Webware based on new style
The most important reason is the use of the "super" method that could make
initializiation in __init__, awake, sleep,... much easier and less error
Other than that, I could imagine that the possible use of metaclasses might
make Webware much more powerfull as it is already.
Get latest updates about Open Source Projects, Conferences and News.