storing references instead of copies in a dictionary

John Machin sjmachin at
Fri Jul 18 04:00:55 CEST 2008

On Jul 18, 10:36 am, bgeddy <bge... at home.havin.a.break> wrote:
> the OP's post revolved around having a rewritable
> set of "labels" - which could be recorded at one time and when re
> referenced the new definitions of those labels would be used. For
> example a "collection" (list,dictionary,tuple) could be made of these
> "labels" and then the underlying code accessed by the labels changed. If
> the code was now ran indirectly by referencing the list then the new
> code would be ran.

This notion is as dangerous and ludicrous as the COBOL ALTER verb.

> These building blocks are how parsers are built and
> the basis of language.


More information about the Python-list mailing list