Closures in leu of pointers?

Michael Torrie torriem at gmail.com
Sat Jun 29 18:03:35 EDT 2013


On 06/29/2013 01:20 PM, cts.private.yahoo at gmail.com wrote:
> exactly that.  Without wanting to analyze it in too much depth now, I
> would want a local keyword to allow me to know I was protecting my
> variables, and a way to specify other scopes, without so much implied
> scoping in non-intuitive ways...

The technical thing you are trying to accomplish, is, as far as I know,
not easily doable in Python, except if you use a mutable object like a list.

> 
> Now everybody is gonna tell me how wrong I am, but you asked what I
> want, and that's what keeps aggrevating me with python.

I presume you're answering the question of "what is it you're trying to
do."  Can't be sure.  But chances are good.

Far be it from me to tell you how wrong you are.   I'm still not even
sure what you're trying to do ultimately.



More information about the Python-list mailing list