[Types-sig] updated proposal (fwd)

skaller skaller@maxtal.com.au
Thu, 06 Jan 2000 23:49:40 +1100


Greg Stein wrote:
> 
> On Thu, 6 Jan 2000, skaller wrote:
> >...
> > More precisely: b is a string from the point at which b is
> > bound to the checked expression, at least until:
> >
> >       1) 'end of block'
> >       2) An exec statement is seen
> >       3) An assignment to b
> >       4) If b is global, then a function call
> >       5) the module dictionary is fiddled with
> 
> hehe... then I guess you haven't seen code like this:

> 
> Due to some sneaky behavior in Python, you can't actually change the
> locals through that dictionary.

	i know: that's why the conditions say 'if b is global',
and 'the module dictionary', both cases excluding locals.

-- 
John (Max) Skaller, mailto:skaller@maxtal.com.au
10/1 Toxteth Rd Glebe NSW 2037 Australia
homepage: http://www.maxtal.com.au/~skaller
voice: 61-2-9660-0850