[Python] Why is it bad idea to modify locals in python?

Discussão em 'Python' iniciado por Stack, Abril 11, 2025.

  1. Stack

    Stack Membro Participativo

    Related to this reply here. Locals' doc here.

    The docs mention that the dictionary should not change, not sure what it means but would locals() be applicable in lab-reports where data won't change, for example in measurements?

    Continue reading...

Compartilhe esta Página