diff options
author | Michele Simionato <michele.simionato@gmail.com> | 2020-02-29 06:23:03 +0100 |
---|---|---|
committer | Michele Simionato <michele.simionato@gmail.com> | 2020-02-29 06:23:03 +0100 |
commit | 904844b84f30bcd370268d09fdffbc77b0a9fd42 (patch) | |
tree | 174dabba9e71bd1146b1c66e7e9335794ae0b2bd | |
parent | 8141e729034bb4f7abe41966d77be0b2a4b0a767 (diff) | |
download | python-decorator-git-904844b84f30bcd370268d09fdffbc77b0a9fd42.tar.gz |
Release 4.4.2
-rw-r--r-- | CHANGES.md | 11 | ||||
-rw-r--r-- | docs/documentation.md | 8 | ||||
-rw-r--r-- | src/decorator.py | 2 |
3 files changed, 16 insertions, 5 deletions
@@ -3,6 +3,17 @@ HISTORY ## unreleased +## 4.4.2 (2020-02-29) + +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. + ## 4.4.1 (2019-10-27) Changed the description to "Decorators for Humans" are requested by diff --git a/docs/documentation.md b/docs/documentation.md index 53196e4..354b5c3 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -4,9 +4,9 @@ Decorators for Humans |Author | Michele Simionato| |---|---| |E-mail | michele.simionato@gmail.com| -|Version| 4.4.1 (2019-10-27)| +|Version| 4.4.2 (2020-02-29)| |Supports| Python 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8| -|Download page| http://pypi.python.org/pypi/decorator/4.4.1| +|Download page| http://pypi.python.org/pypi/decorator/4.4.2| |Installation| ``pip install decorator``| |License | BSD license| @@ -533,7 +533,7 @@ factory), parameterize by a string, the busy message: f.thread = threading.Thread(None, set_result) f.thread.start() return msg - elif f.thread.isAlive(): + elif f.thread.is_alive(): return msg else: # the thread is ended, return the stored result del f.thread @@ -1697,7 +1697,7 @@ a (shallow) copy of the original function dictionary: LICENSE (2-clause BSD) --------------------------------------------- -Copyright (c) 2005-2019, Michele Simionato +Copyright (c) 2005-2020, Michele Simionato All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/decorator.py b/src/decorator.py index f1eaf57..b1f8b56 100644 --- a/src/decorator.py +++ b/src/decorator.py @@ -40,7 +40,7 @@ import operator import itertools import collections -__version__ = '4.4.1' +__version__ = '4.4.2' if sys.version_info >= (3,): from inspect import getfullargspec |