Intercepting binding?

andrew cooke andrew at acooke.org
Wed Sep 23 21:10:10 EDT 2009


On Sep 23, 8:40 pm, "Rhodri James" <rho... at wildebst.demon.co.uk>
wrote:
> eggs[42] = Foo()
> beans['spam'] = Foo()
> chips.spam = Foo()
> spam[eggs.beans['chips']] = Foo()
> spam.append(Foo())

these are valid points, but in practice the main use (for the
restricted application i care about) is si,ple variables, and this is
an "optional extra" to help the user, so it's OK if it only works
sometimes.  at the moment i'd be happy with any half-baked unreliable
solution that is transparent...

andrew



More information about the Python-list mailing list