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

Package: python-extclass (1.2.0zope-2.5.1-5)

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
  • dep: libc6 (>= 2.3.5-1) [not alpha, i386, ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.3.6-6) [i386]
  • dep: libc6.1 (>= 2.3.5-1) [alpha, ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6.1-udeb
  • dep: python (<< 2.5)
    An interactive high-level object-oriented language (default version)
    dep: python (>= 2.3)

Download python-extclass

Download for all available architectures
Architecture Package Size Installed Size Files
alpha 162.8 kB688 kB [list of files]
amd64 168.2 kB644 kB [list of files]
arm 148.3 kB469 kB [list of files]
hppa 180.1 kB688 kB [list of files]
i386 147.0 kB500 kB [list of files]
ia64 213.8 kB1004 kB [list of files]
mips 149.0 kB680 kB [list of files]
mipsel 149.0 kB680 kB [list of files]
powerpc 177.4 kB720 kB [list of files]
s390 161.7 kB632 kB [list of files]
sparc 152.5 kB624 kB [list of files]