[Python] How does Python debugger honor the editing of script during execution?

Discussão em 'Python' iniciado por Stack, Junho 5, 2025.

  1. Stack

    Stack Membro Participativo

    I understand that Python interpreter will compiles source code during parsing just like what compiler for C does, which makes me curious why Python debugger can honor the editing during execution?

    Say, using Pycharm I observed that, during a for loop the run-time behavior changes every time I edit the code, does it mean it re-compiles each time when a change is made? but I don't observe any delay/hang from it. Did I misunderstand concept?

    Continue reading...

Compartilhe esta Página