python-decorator 5.1.1-4 source package in Ubuntu

Changelog

python-decorator (5.1.1-4) unstable; urgency=medium

  * Team upload.
  * d/control: bump Standards-Version (no changes needed).
  * d/watch: bump to version 4 (no changes needed).

 -- Joao Nobrega <email address hidden>  Thu, 27 Jul 2023 16:58:21 -0300

Upload details

Uploaded by:
Debian Python Team
Uploaded to:
Sid
Original maintainer:
Debian Python Team
Architectures:
all
Section:
python
Urgency:
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section
Mantic release main python

Builds

Mantic: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
python-decorator_5.1.1-4.dsc 2.1 KiB 43812c9297acdc54a5c995267e00cfdde8f29a9149ad0e73fcf406180114686e
python-decorator_5.1.1.orig.tar.gz 34.2 KiB 637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330
python-decorator_5.1.1-4.debian.tar.xz 4.4 KiB cf82102bf95dcb5664843522191dd5cda98c3dcc42e5fc3f680b32d631284c95

Available diffs

No changes file available.

Binary packages built by this source

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.