In what way does `runpy` leave functions or classes in an incorrect state?

80 Views Asked by At

The documentation for runpy warns

…any functions and classes defined by the executed code are not guaranteed to work correctly after a runpy function has returned.

What does that mean in practice? If they functioned normally during runpy execution, what can happen after runpy returns to make them go awry?

0

There are 0 best solutions below