From: aa8vb at vislab.epa.gov (Randall Hopper)
Date: Fri, 30 Apr 1999 08:08:05 -0400
Subject: Python IS slow ! [was] Re: Python too slow for real world
In-Reply-To: <372965CA.2B3FD2FE@appliedbiometrics.com>; from Christian Tismer on Fri, Apr 30, 1999 at 08:11:54AM +0000
References: <613145F79272D211914B0020AFF6401914DAD8@gandalf.digicool.com> <p5g15lmb35.fsf@bidra241.bbn.hp.com> <slrn7ieipq.8uk.wtanksle@dolphin.openprojects.net> <7g9qmo$luf$1@news.udel.edu> <372965CA.2B3FD2FE@appliedbiometrics.com>
Message-ID: <19990430080805.B776752@vislab.epa.gov>
X-UID: 688                                                  

Christian Tismer:
 |Terry Reedy wrote:
 |> A batch-mode optimizer analyzing an entire file (module) should be able to
 |> detect whether or not function names are rebound.
 |> 
 |> Perhaps module bindings should be considered immutable from outside the
 |> module unless explicitly declared otherwise. 
 |
 |I'm thinking of no new keyword, but a mechanism which allows me to lock a
 |namespace somehow. 

I like this idea in concept.  Though I would prefer a way to have
namespaces "lock by default".  Examples:  After a class definition, the
class function dictionary is locked.  After a module is fully read, all
references are bound and the module namespace is locked.  etc.

Randall




