Run a python function (e.g., a test) in it's own process
Project description
# decoupled
## Motivation Imagine… * You’re developing a python extension OR * You’re writing some C or C++ code, but decided to add some python bindings because you’re more familiar with python unit testing libraries
Now this C/C++ code can fail in ways which Python code cannot. It can cause a segfault and take your whole Python process down. That means, that your testing library doesn’t get to display it’s results - you don’t get told which tests fail.
## The solution decoupled runs your code in a separate process. If it crashes, this doesn’t take down the parent process. Instead, a ChildCrashedError is raised in your parent process.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for decoupled-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f7822d152f4c995326ddff1b9e1457e0f33b66ca9102acf9f486a0749c5b841 |
|
MD5 | 24192914a6e2e2487ec1aef247c740fa |
|
BLAKE2b-256 | 3087c6bf4a22561714e8eb478c990fadd988f8c06aca1d9c6c96a7cdf147d59b |