すべてのオプション
sid  ]
[ ソース:  ]

パッケージ: python-extclass (1.2.0zope-2.5.1-6.1) [debports]

python-extclass に関するリンク

Screenshot

Debian の資源:

ソースパッケージをダウンロード:

見つかりません

メンテナ:

類似のパッケージ:

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.

その他の python-extclass 関連パッケージ

  • 依存
  • 推奨
  • 提案

python-extclass のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
avr32 (非公式の移植版) 94.3 kB332.0 kB [ファイル一覧]
m68k (非公式の移植版) 99.8 kB376.0 kB [ファイル一覧]