Ian Bicking: the old part of his blog


]] Dynamic local variables. There's no equivalent in Python -- you'd have to open up the current frame object and look in parent scopes. While it's expedient, I think it's also a very bad idea to provide this. That kind of mucking about with parent scopes is just asking for problems. I guess it could be used to macro-like effect in some ways. [[

Actually aren't all local variables in Python dynamic?

def func():
print x, y

x = 1
y = 2

I agree that this is a really bad idea...
Comment on Initial thoughts on Prothon
by Joe Cheng