Skip to content

Releases: LamaAni/zthreading.py

Update PR tests actions and fix deprecated functions for python 3.10

13 Jun 00:22
dec49ea
Compare
Choose a tag to compare
  1. Fixed deprecated threading.currentThread -> threading.current_thread
  2. Added support for PR tests and checks actions

Fix deprecated functions for python >3.10

12 Jun 23:52
1ca57af
Compare
Choose a tag to compare

Fixes:

  1. Fixed deprecated threading.currentThread -> threading.current_thread

Bugfix - return value on catch_signal

30 Oct 16:20
Compare
Choose a tag to compare

Fixes

  1. Return value propagation on catch_signal decorator

Signal Handling

29 Oct 20:19
Compare
Choose a tag to compare

New

  1. Added signal handling with a global, reversible signal handler.
  2. Added decorator for signal catch.
  3. Added as_task decorator

Added decorator collect_delayed_calls_async (release)

22 Oct 20:02
Compare
Choose a tag to compare

What

  1. Added a common decorator to allow to collect consecutive async calls.
  2. Added ability to determine daemon vs non daemon decorators.
  3. Added ignore waiting calls on consecutive within an interval.

Added decorator collect_delayed_calls_async

22 Oct 18:56
Compare
Choose a tag to compare

What

  1. Added a common decorator to allow to collect consecutive async calls.
  2. Added ability to determine daemon vs non daemon decorators.

Fixed error catching in wait_for_events and wait_for

21 Sep 02:54
Compare
Choose a tag to compare

Changes:

  1. Error catching in wait_for_events and wait_for
  2. Added support for predict method with event object.

Breaking changes:

  1. Changed wait_for_events predict method from predict(handler, name:str, *args,**kwargs) to predict(handler, event)

Added support for multiple event names on stream

20 Sep 23:12
Compare
Choose a tag to compare

Moved to event object model with sender

18 Sep 21:44
Compare
Choose a tag to compare

What:

  1. Changed the internal event passing model from (name, *args,**kwargs) to Event object.
  2. Added sender to event object - the object which triggered the event

Breaking changes:

  1. The on_event argument changed from on_event(name,*args,**kwargs) to on_event(evnt:Event).

Added support for event acction error location tracing

17 Sep 19:51
Compare
Choose a tag to compare
0.1.9

Updated the error throw to allow proper line tracing