Hacker News new | ask | show | jobs
by heavenlyblue 126 days ago
i have a python library that does it: https://github.com/andreycizov/python-race

It uses generators and their yield as the yield point (and supports running arbitrary functions under a debugger)