3 ms·
Python provides many ways to 'dig thru' the surrounding namespace. I find it ironic that do so is effortless in the language while at the same time is considere
by sitkack 11y ago
Python provides many ways to 'dig thru' the surrounding namespace. I find it ironic that do so is effortless in the language while at the same time is considered unpythonic. Which is it? Is the language itself unpythonic?
- mixmastamyk 11y agoStack frame digging is discouraged yes, I'm ok with that. Also, this alternative solution would not allow arbitrary expressions, which was a design goal.