[Python-Dev] replacing 'global'
skip at pobox.com
Sun Oct 26 07:04:58 EST 2003
>>>>> "Just" == Just van Rossum <just at letterror.com> writes:
Just> Skip Montanaro wrote:
>> >> * Would you be required to use := at each assignment or just
>> >> the first?
Just> Just the first; "a = 2" still means "a is local to this scope".
>> That seems like a very subtle error waiting to happen...
Just> Since I said the wrong thing, I'm not sure how to respond to
Just> this... Do you still feel the same way with my corrected reply?
More information about the Python-Dev