ExtensionClass 4.0
pip install ExtensionClass==4.0
Released:
Metaclass for subclassable extension types
Navigation
Verified details
These details have been verified by PyPIOwner
Maintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Zope Public License (ZPL 2.1)
- Author: Zope Foundation and Contributors
Classifiers
- Development Status
- Environment
- Framework
- License
- Operating System
- Programming Language
Project description
ExtensionClass and ExtensionClass-related packages
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).
Changelog
4.0 (2013-02-24)
Added trove classifiers to project metadata.
4.0a1 (2011-12-13)
Don’t create wrappers when retrieving parent pointers.
2.13.2 (2010-06-16)
LP #587760: Handle tp_basicsize correctly.
2.13.1 (2010-04-03)
Removed undeclared testing dependency on zope.testing.
Removed cruft in pickle/pickle.c related to removed __getnewargs__.
2.13.0 (2010-02-22)
Avoid defining __getnewargs__ as not to defeat the ZODB persistent reference optimization. Refs https://bugs.launchpad.net/zope2/+bug/143657. In order to take advantage of this optimization, you need to re-save your objects.
2.12.0 (2010-02-14)
Removed old build artifacts and some metadata cleanup.
Added support for method cache in ExtensionClass. Patch contributed by Yoshinori K. Okuji. See https://bugs.launchpad.net/zope2/+bug/486182.
2.11.3 (2009-08-02)
Further 64-bit fixes (Python 2.4 compatibility).
2.11.2 (2009-08-02)
Fixed 64-bit compatibility issues for Python 2.5.x / 2.6.x. See http://www.python.org/dev/peps/pep-0353/ for details.
2.11.1 (2009-02-19)
Initial egg release.
Project details
Verified details
These details have been verified by PyPIOwner
Maintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Zope Public License (ZPL 2.1)
- Author: Zope Foundation and Contributors
Classifiers
- Development Status
- Environment
- Framework
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ExtensionClass-4.0.zip
.
File metadata
- Download URL: ExtensionClass-4.0.zip
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bac31a2ca401bb7c9cadc68d32a3c76a6bad2158d22db623c7bab43b6090598 |
|
MD5 | 0a903f42b6f165bfa60f33b076ec1627 |
|
BLAKE2b-256 | dd609bd4a9f0c0d12388fd40ec2dc28ab53350088172d3f620ce5820aedcf1b6 |