storing references instead of copies in a dictionary
John Machin
sjmachin at lexicon.net
Thu Jul 17 22:00:55 EDT 2008
On Jul 18, 10:36 am, bgeddy <bge... at home.havin.a.break> wrote:
[snip]
> 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.
Huh?
More information about the Python-list
mailing list