diff --git a/ChangeLog b/ChangeLog index 6aa5e49..1e872ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +* 4.3.0 - Aug 10 2017 + +- Ensure that functions wrapped with @func_set_timeout do not lose meta +information (such as name, docstrings, etc.). Special thanks to belongwqz on +github for noting the issue and suggesting functools.wraps + + * 4.2.0 - Jun 4 2017 - Add "stop" method to StoppableThread (same as previous _stopThread method - but with a 'public' name) diff --git a/func_timeout/__init__.py b/func_timeout/__init__.py index 00b1214..2ee8d23 100644 --- a/func_timeout/__init__.py +++ b/func_timeout/__init__.py @@ -6,8 +6,8 @@ ''' -__version__ = '4.2.0' -__version_tuple__ = (4, 2, 0) +__version__ = '4.3.0' +__version_tuple__ = (4, 3, 0) __all__ = ('func_timeout', 'func_set_timeout', 'FunctionTimedOut', 'StoppableThread') diff --git a/setup.py b/setup.py index a40b4eb..8f97ca6 100755 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ if __name__ == '__main__': log_description = summary setup(name='func_timeout', - version='4.2.0', + version='4.3.0', packages=['func_timeout'], author='Tim Savannah', author_email='kata198@gmail.com',