sarge  ] [  etch  ] [  etch-m68k  ]
[ Source: python-extclass  ]

Package: python2.3-extclass (1.2.0zope-2.5.1-1.3)

Improves integration between Python and C++ classes (Python 2.3)

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.

This package is built for Python 2.3.

Other Packages Related to python2.3-extclass

  • depends
  • recommends
  • suggests
  • dep: python2.3
    An interactive high-level object-oriented language (version 2.3)

Download python2.3-extclass

Download for all available architectures
Architecture Package Size Installed Size Files
alpha 69.3 kB316 kB [list of files]
amd64 (unofficial port) 76.4 kB252 kB [list of files]
arm 70.1 kB288 kB [list of files]
hppa 91.4 kB324 kB [list of files]
i386 63.9 kB212 kB [list of files]
ia64 123.1 kB504 kB [list of files]
m68k 65.8 kB264 kB [list of files]
mips 71.4 kB352 kB [list of files]
mipsel 71.7 kB352 kB [list of files]
powerpc 86.5 kB332 kB [list of files]
s390 77.2 kB300 kB [list of files]
sparc 80.2 kB304 kB [list of files]