./devel/py-decorator, Generic Python decorator utilities

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.4.2, Package name: py37-decorator-4.4.2, Maintainer: pkgsrc-users

The ``decorator'' module aims to simplify the usage of decorators
in Python code for the average programmer and to popularize decorators
by showing various non-trivial examples.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 24d4560ff3e89a6cec068d323383577343c086fb
RMD160: eb60b82eca66a5105b4f8474690ee5148c16ca24
Filesize: 32.841 KB

Version history: (Expand)


CVS history: (Expand)


   2020-04-11 09:47:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-decorator: updated to 4.4.2

4.4.2:
Sylvan Mosberger (https://github.com/Infinisil) contributed a patch to
some doctests that were breaking on NixOS.
John Vandenberg (https://github.com/jayvdb) made a case for removing the usage
of `__file__`, that was breaking PyOxidizer.
Miro HronĨok (https://github.com/hroncok) contributed some fixes for the
future Python 3.9.
Hugo van Kemenade (https://github.com/hugovk) contributed some fixes for the
future Python 3.10.
   2019-11-13 21:44:29 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-decorator: updated to 4.4.1

4.4.1:
Changed the description to "Decorators for Humans" are requested by
several users. Fixed a .rst bug in the description as seen in PyPI.
   2019-04-04 11:51:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-decorator: updated to 4.4.0

4.4.0:
Fixed a regression with decorator factories breaking the case with no
arguments by going back to the syntax used in version 4.2.
Accepted a small fix from Eric Larson (https://github.com/larsoner) affecting
isgeneratorfunction for old Python versions.
Moved the documentation from ReadTheDocs to GitHub to simplify the
release process and replaced ReStructuredText with Markdown: it is
an inferior solution, but it works better with GitHub and it is good enough.
   2019-02-14 10:04:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-decorator: updated to 4.3.2

4.3.2:
Accepted a patch from Sylvain Marie (https://github.com/smarie): now the
decorator module can decorate generator functions by preserving their
being generator functions. Set `python_requires='>=2.6, !=3.0.*, !=3.1.*'`
in setup.py, as suggested by https://github.com/hugovk.

4.3.1:
Added a section "For the impatient" to the README, addressing an issue
raised by Amir Malekpour. Added support for Python 3.7. Now
the path to the decorator module appears in the tracebacks, as suggested
by an user at EuroPython 2018.
   2018-06-16 14:18:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-decorator: updated to 4.3.0

4.3.0:
Extended the decorator family facility to work with positional arguments and \ 
updated the documentation. Removed decorator.getargspec and provided \ 
decorator.getfullargspec instead. This is convenient for users of Python \ 
2.6/2.7, the others can just use inspect.getfullargspec.
   2018-01-15 11:40:07 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-decorator: updated to 4.2.1

4.2.1:
Fixed a regression breaking IPython and discovered by https://github.com/spapini

4.2.0:
Added a facility to define families of decorators (aka decorators with
arguments) as requested by several users.
   2017-07-24 12:20:59 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
4.1.2:
Made it possible to define decorators converting coroutines into regular
functions
   2017-07-16 11:25:34 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
4.1.1:
Changed the documentation build system to sphinx and uploaded the docs on \ 
readthedocs.org.

4.1.0:
Support for Python 3.5 coroutines defined with async def, thanks to \ 
Victor-Nicolae Savu who raised the issue of iscoroutinefunction not giving the \ 
right answer for coroutines decorated with the decorator module.