mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 03:45:17 -04:00
terminable_thread provides a subclass of threading.Thread, adding the facility to raise exceptions in the context of the given thread. This facility is incorporated in the terminable_thread.Thread methods raise_exc, which raises an arbitrary exception, and terminate, which raises SystemExit. This is not done in an entirely robust manner, and there may be unreported issues with it. It uses the unexposed PyThreadState_SetAsyncExc function (via ctypes) to raise an exception for the given thread. Sponsored by: Farsight Security, Inc.
2 lines
152 B
Text
2 lines
152 B
Text
SHA256 (terminable_thread-0.7.1.tar.gz) = c07d98a8230568757cffd13c6315409db45f6f479c4e3640df84b2225db10b27
|
|
SIZE (terminable_thread-0.7.1.tar.gz) = 5247
|