etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ Paquet source : python-extclass  ]

Paquet : python-extclass (1.2.0zope-2.5.1-6.1)

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.

Autres paquets associés à python-extclass

  • dépendances
  • recommandations
  • suggestions
  • dep: hurd [hurd-i386]
    GNU Hurd
    un paquet virtuel est également fourni par hurd-udeb
  • dep: libc0.1 (>= 2.3) [kfreebsd-amd64, kfreebsd-i386]
    bibliothèque C GNU : bibliothèques partagées
    un paquet virtuel est également fourni par libc0.1-udeb
  • dep: libc0.3 (>= 2.7-1) [hurd-i386]
    Embedded GNU C Library: Shared libraries
    un paquet virtuel est également fourni par libc0.3-udeb
  • dep: libc6 (>= 2.5) [avr32]
    Embedded GNU C Library: Shared libraries
    un paquet virtuel est également fourni par libc6-udeb
    dep: libc6 (>= 2.5-5) [m68k]
    dep: libc6 (>= 2.7-1) [non alpha, avr32, hurd-i386, ia64, kfreebsd-amd64, kfreebsd-i386, m68k]
  • dep: libc6.1 (>= 2.7-1) [alpha, ia64]
    Embedded GNU C Library: Shared libraries
    un paquet virtuel est également fourni par libc6.1-udeb
  • dep: python2.4
    Langage interactif de haut niveau orienté objet (version 2.4)

Télécharger python-extclass

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
alpha 108,7 ko432 ko [liste des fichiers]
amd64 106,6 ko404 ko [liste des fichiers]
armel 96,8 ko372 ko [liste des fichiers]
avr32 (portage non officiel) 94,3 ko332 ko [liste des fichiers]
hppa 111,9 ko424 ko [liste des fichiers]
hurd-i386 93,1 ko360 ko [liste des fichiers]
i386 94,6 ko316 ko [liste des fichiers]
ia64 125,9 ko560 ko [liste des fichiers]
kfreebsd-amd64 104,7 ko330 ko [liste des fichiers]
kfreebsd-i386 95,0 ko294 ko [liste des fichiers]
m68k (portage non officiel) 99,8 ko376 ko [liste des fichiers]
mips 98,5 ko412 ko [liste des fichiers]
mipsel 95,7 ko412 ko [liste des fichiers]
powerpc 113,0 ko452 ko [liste des fichiers]
s390 102,7 ko396 ko [liste des fichiers]
sparc 100,3 ko384 ko [liste des fichiers]