python-decorator 4.0.2-1 source package in Ubuntu
Changelog
python-decorator (4.0.2-1) unstable; urgency=medium * New upstream release * Rewrite debian/rules to use dh sequencer and pybuild buildsystem * debhelper compat level bumped to 9 * documentation.py no longer installed * debian/watch: use pypi.debian.net redirector * Standards-Version bumped to 3.9.6 (no changes needed due to debian/rules rewrite) -- Piotr Ożarowski <email address hidden> Sat, 01 Aug 2015 14:45:07 +0200
Upload details
- Uploaded by:
- Debian Python Modules Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Modules Team
- Architectures:
- all
- Section:
- python
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-decorator_4.0.2-1.dsc | 2.2 KiB | 14e9417a6155b5a23993145e7224a50df56729c66030553e2f74b17c82eee660 |
python-decorator_4.0.2.orig.tar.gz | 63.3 KiB | 1a089279d5de2471c47624d4463f2e5b3fc6a2cf65045c39bf714fc461a25206 |
python-decorator_4.0.2-1.debian.tar.xz | 3.4 KiB | 60525ddac67d564d2ac6c7c3191f04ff24efa4f84a62a12f5017137f91a00f8b |
Available diffs
No changes file available.
Binary packages built by this source
- python-decorator: No summary available for python-decorator in ubuntu wily.
No description available for python-decorator in ubuntu wily.
- python3-decorator: simplify usage of Python decorators by programmers
Python 2.4 decorators have significantly changed the way Python programs are
structured.
* decorators help reduce boilerplate code;
* decorators help the separation of concerns;
* decorators enhance readability and maintainability;
* decorators are very explicit.
Still, as of now, writing custom decorators correctly requires some
experience and is not as easy as it could be. For instance, typical
implementations of decorators involve nested functions and we all know that
flat is better than nested.
The aim of the decorator module it to simplify the usage of decorators for
the average programmer and to popularize decorators usage giving examples of
useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc.