|
|
|
Linux temps réel embarqué et outils de développements
|
Technique |
|
|
python-extclass
| python-extclass | Improves integration between Python and C++ classes | | Priority | |
| Section | python |
| Installed size | 500 |
| Maintainer | Matthias Klose <doko@debian.org> |
| Architecture | i386 |
| Version | 1.2.0zope-2.5.1-5 |
| Depends | python (<< 2.5), python (>= 2.3), libc6 (>= 2.3.6-6) |
| Suggests | epydoc-doc |
| File name | pool/main/p/python-extclass/python-extclass_1.2.0zope-2.5.1-5_i386.deb |
| Description | A lightweight mechanism, named "ExtensionClass", has been developed for making Python extension types more class-like. Classes can be developed in an extension language, such as C or C++, and these classes can be treated like other python classes: . - They can be sub-classed in python, - They provide access to method documentation strings, and - They can be used to directly create new instances. . An example class shows how extension classes are implemented and how they differ from extension types. . Extension classes provide additional extensions to class and instance semantics, including: . - A protocol for accessing subobjects "in the context of" their containers. This is used to implement custom method types and environmental acquisition. - A protocol for overriding method call semantics. This is used to implement "synchronized" classes and could be used to implement argument type checking. - A protocol for class initialization that supports execution of a special '__class_init__' method after a class has been initialized. . Extension classes illustrate how the Python class mechanism can be extended and may provide a basis for improved or specialized class models. |
|
|
|