all options
sid  ]
[ Source:  ]

Package: python-extclass (1.2.0zope-2.5.1-6.1) [debports]

Links for python-extclass

Screenshot

Debian Resources:

Download Source Package :

Not found

Maintainers:

Similar packages:

Improves integration between Python and C++ classes

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.

Other Packages Related to python-extclass

  • depends
  • recommends
  • suggests

Download python-extclass

Download for all available architectures
Architecture Package Size Installed Size Files
avr32 (unofficial port) 94.3 kB332.0 kB [list of files]
m68k (unofficial port) 99.8 kB376.0 kB [list of files]