There is some discussion about a generic interface and true
inheritance from C for Python.
If there will be a rewrite of large portions of the class
system then one could think about a consistent meta object
protocol.
For the ones who don't know what this should mean:
I want to to the following things:
(Note: some things can you allready do in the current implementation
there is some redundancy in functionality)
- ask for all available classes
- ask for the methods of a class
- ask a class for inheritance
- ask an instance for it's class
- ask an instance/class if it responds to a certain method
- change the base classes of a class
- add methods to a class
- delete methods from a class
- create a new class
- remove a class
All this should be available from Python and from C in a consistent
way. Also there should be some protection (a la safe-Python).
--
Ciao, Olli
| Oliver Geisser * Steindruefft 11 * 33184 Altenbeken * Germany | | e-mail: ogeisser@uni-paderborn.de * Phone: 05255/7966 | | I prefer ASCII-Mail, but you can also send me NeXT-Mail |