The official documentation for exec states that if neither globals or locals is passed, the code will run in the current scope. However, while debugging, variables loaded in the previous exec calls ...