From 904844b84f30bcd370268d09fdffbc77b0a9fd42 Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Sat, 29 Feb 2020 06:23:03 +0100 Subject: Release 4.4.2 --- CHANGES.md | 11 +++++++++++ docs/documentation.md | 8 ++++---- src/decorator.py | 2 +- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index b2d7dc4..84250f8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 -- cgit v1.2.1