Python Hunter – a flexible code tracing toolkit
github.com3 pointsby ionelm1 comments
>>> resource.setrlimit(resource.RLIMIT_NPROC, (0, 0))
>>> os.fork()
Traceback (most recent call last):
File "<ipython-input-7-348c6e46312a>", line 1, in <module>
os.fork()
OSError: [Errno 11] Resource temporarily unavailable
There's also a work-in-progress cookbook with unusual stuff: https://python-hunter.readthedocs.io/en/latest/cookbook.html