why can’t I set my python global variable when not running step-by-step debugger
When executing this code using the step-by-step debugger, I get the expected results where error_str = "Error (11): Resource temporarily unavailable"
. When using the interpreters (3.6, 3.8, and 3.11), I get error_str = ""