Group :: Development/Python3
RPM: python3-module-ExtensionClass
Principal Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
A versão atual: 5.0-alt1
Data da compilação: 29 março 2023, 07:12 ( 55.1 weeks ago )
Tamanho:: 37.74 Kb
Home page: https://pypi.org/project/ExtensionClass/
Licença: ZPL-2.1
Sumário: Metaclass for subclassable extension types
Descrição:
Lista dos contribuidores
Lista dos rpms provida por esta srpm:
ACL:
Data da compilação: 29 março 2023, 07:12 ( 55.1 weeks ago )
Tamanho:: 37.74 Kb
Home page: https://pypi.org/project/ExtensionClass/
Licença: ZPL-2.1
Sumário: Metaclass for subclassable extension types
Descrição:
ExtensionClass:
This package provides a metaclass that allows classes implemented in
extension modules to be subclassed in Python. Unless you need
ExtensionClasses for legacy applications (e.g. Zope 2), you probably
want to use Python's new-style classes (available since Python 2.2).
ComputedAttribute:
This package provides a way to attach attributes to an ExtensionClass or
instance that are computed by calling a callable. This works very much
like property known from new-style classes, except that a
ComputedAttribute can also be attached to an instance and that it
honours ExtensionClass semantics (which is useful for retaining
Acquisition wrappers, for example).
MethodObject:
This package lets you attach additional "methods" to ExtensionClasses.
These "methods" are actually implemented by subclassing the
MethodObject.Method class and implementing the __call__ method there.
Instances of those classes will be bound to the instances they're
attached to and will receive that instance object as a first parameter
(after self).
Mantenedor currente: Anton Vyatkin This package provides a metaclass that allows classes implemented in
extension modules to be subclassed in Python. Unless you need
ExtensionClasses for legacy applications (e.g. Zope 2), you probably
want to use Python's new-style classes (available since Python 2.2).
ComputedAttribute:
This package provides a way to attach attributes to an ExtensionClass or
instance that are computed by calling a callable. This works very much
like property known from new-style classes, except that a
ComputedAttribute can also be attached to an instance and that it
honours ExtensionClass semantics (which is useful for retaining
Acquisition wrappers, for example).
MethodObject:
This package lets you attach additional "methods" to ExtensionClasses.
These "methods" are actually implemented by subclassing the
MethodObject.Method class and implementing the __call__ method there.
Instances of those classes will be bound to the instances they're
attached to and will receive that instance object as a first parameter
(after self).
Lista dos contribuidores
- python3-module-ExtensionClass-debuginfo
- python3-module-ExtensionClass
- python3-module-ExtensionClass-tests