3 ms·
Depending on what you're trying to do, you likely want either continuations (which aren't supported in Python directly, but which you can emulate by writing you
by amalcon 3y ago
Depending on what you're trying to do, you likely want either continuations (which aren't supported in Python directly, but which you can emulate by writing your function in continuation-passing style) or a debugger with rewinding (which is fairly cutting edge, but might exist for Python? PyPy blogged about an early version a few years back). The main use cases for a specific point interrupt are covered by these techniques.
That said, Temporal is very similar and supports multiple languages, including Python.