2 ms·
OK, fair point, I used a wrong term here. So instead of global variables we have dynamic modules that represent a stateful context object which is different dep
by BerislavLopac 9y ago
OK, fair point, I used a wrong term here. So instead of global variables we have dynamic modules that represent a stateful context object which is different depending on where they are imported and when. Very un-Pythonic, and honestly I'd prefer global variables here. :-/
- eurleif 9y ago>different depending on where they are imported and when Er, no. Their value depends on where in the callstack you read it, not on where/how they're imported. They're like global variables but with thread locality, and with a stack of values.