Contextual execution framework for Python (experimental)