py27-terminable_thread - Thread subclass / raise exceptions or terminate from another thread

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly amd64
Package filename py27-terminable_thread-0.7.1.txz
Package name py27-terminable_thread
Package version 0.7.1
Package release -
Package architecture amd64
Package type txz
Category devel python
License PD
Download size 5.77 KB
Installed size 16.58 KB
Provides a subclass of Thread with facilities to raise an exception
in the thread or terminate the thread from another thread.
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.


Package Version Architecture Repository
py27-terminable_thread-0.7.1.txz 0.7.1 i386 FreeBSD Ports Quarterly
py27-terminable_thread-0.7.1.txz 0.7.1 amd64 FreeBSD Ports Latest
py27-terminable_thread-0.7.1.txz 0.7.1 i386 FreeBSD Ports Latest
py27-terminable_thread - - -


Name Value
py27-setuptools = 40.8.0
python27 = 2.7.16


Type URL
Binary Package py27-terminable_thread-0.7.1.txz
Source Package devel/py-terminable_thread

Install Howto

Install py27-terminable_thread txz package:

# pkg install py27-terminable_thread

See Also

Package Description
py27-terminado-0.8.2.txz Terminals served to term.js using Tornado websockets
py27-terminaltables-3.1.0.txz Generate simple tables in terminals from a nested list of strings
py27-termstyle-0.1.10.txz Dirt-simple terminal-colour library for python
py27-testfixtures-6.10.0.txz Collection of helpers and mock objects for unit tests and doc tests
py27-testinfra-3.2.0.txz Testinfra python module Serverspec-like for infrastructure testing
py27-testoob-1.15_2.txz Advanced unit testing framework for PyUnit
py27-testpath-0.4.2.txz Test utilities for Python code working with files and commands
py27-testrepository-0.0.20_1.txz Repository of test results
py27-testresources-2.0.1.txz PyUnit extension for managing expensive test resources
py27-testscenarios-0.5.0.txz PyUnit extension for dependency injection
py27-testtools-2.3.0_3.txz Extensions to the Python standard library unit testing framework
py27-text-unidecode-1.3.txz Most basic port of Perl's Text::Unidecode module
py27-textfsm-0.4.1.txz Parses semi-structured text into Python tables
py27-textile-3.0.4.txz Textile markup generator written in Python
py27-texttable-1.6.2.txz Module for creating simple ASCII tables