python-decorator 5.1.1-5 source package in Ubuntu

Changelog

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

  * Team upload.
  * d/copyright: update to use machine-readable standard.
  * d/watch: change regex to uscan's special strings.

 -- Joao Nobrega <email address hidden>  Sat, 16 Sep 2023 06:03:46 +0000

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
Plucky release main python
Oracular release main python
Noble release main python

Builds

Noble: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
python-decorator_5.1.1-5.dsc 2.1 KiB 03ad46a0f1c5ca11ccce6d94708d319aa62be2c23fca10135c7c27661f44a6e2
python-decorator_5.1.1.orig.tar.gz 34.2 KiB 637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330
python-decorator_5.1.1-5.debian.tar.xz 4.5 KiB 755f2dbc7ac664c2a5765dc5c80ffdd3bce125e15d9108efef510a1f98244c1c

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.