Skip to content

Releases: bitranox/wrapt_timeout_decorator

PyPi initial release

10 Apr 13:09

Choose a tag to compare

PyPi initial release

added pickle_analyzer convenience function

03 Apr 16:32

Choose a tag to compare

added pickle_analyzer convenience function

100% Code Coverage, Windows and OSX Test, dec_hard_timeout for Windows

27 Mar 13:15

Choose a tag to compare

100% Code Coverage
Windows and OSX Test
new parameter "dec_hard_timeout" for windows

Refractored and Cleaned

26 Feb 09:50

Choose a tag to compare

Refractored and Cleaned

Fix Pickle detection again, more Tests, CodeCov combining

25 Feb 20:41

Choose a tag to compare

Final New Version 1.0.7

  • pickle detection fixed
  • added some tests
  • codecov now correctly combining the coverage of all tests

Fix Pickle detection

24 Feb 22:03

Choose a tag to compare

  • fix error on detection if the wrapped object is pickable
  • drop python 2.6 support, since wrapt dropped it

use multiprocessing.pipe instead of queue

13 Sep 16:12
b911db2

Choose a tag to compare

If we are not able to use signals, we need to spawn a new process.
This was done in the past by pickling the target function and put it on a queue -
now this is done with a half-duplex pipe.

  • it is faster
  • it probably can work on Amazon AWS, since there You must not use queues

automatic detection if we are in the mainthread

02 Dec 22:04
98fac7d

Choose a tag to compare

Signals can only be used in the main thread. If the decorator is running in a subthread,
we automatically disable signals.

Using multiprocess and dill

30 Nov 09:35
82098be

Choose a tag to compare

Now using multiprocess and dill instead of multiprocessing and pickle -
this makes the decorator more useful under windows, since dill can pickle much more objects then pickle itself.

dill can pickle the following standard types:

none, type, bool, int, long, float, complex, str, unicode,
tuple, list, dict, file, buffer, builtin,
both old and new style classes,
instances of old and new style classes,
set, frozenset, array, functions, exceptions

dill can also pickle more 'exotic' standard types:
functions with yields, nested functions, lambdas
cell, method, unboundmethod, module, code, methodwrapper,
dictproxy, methoddescriptor, getsetdescriptor, memberdescriptor,
wrapperdescriptor, xrange, slice,
notimplemented, ellipsis, quit

100% Code Coverage

11 Nov 13:28
875d5cc

Choose a tag to compare

100% Code Coverage