You cannot do that, and in a future version of Python the local
namespace of a function may not be implemented as a dictionary.
I played a little with implementing it as a mutable tuple, indexed by
variable number, and it makes an awful lot of difference in execution
speed. (Unfortunately there are a lot of minor things to be cleared up
before this can be used in general, and it won't be in the next
Why do you the want to access local namespace?
--Guido van Rossum, CWI, Amsterdam <email@example.com>
"Do you want to have just one argument or were you thinking of taking
[Sorry for the duplicate message Jaap, I must train my fingers :-) ]