Shadowing builtins (was Re: a pyrex-inspired for-i-from-1-to-n...)
exarkun at intarweb.us
Thu Apr 3 04:02:35 CEST 2003
On Wed, Apr 02, 2003 at 07:32:18PM -0500, Aahz wrote:
> In article <3E8B7D49.829034FF at engcorp.com>,
> Peter Hansen <peter at engcorp.com> wrote:
> >I hope Greg's comments about being able to disable this are on the
> >mark, because otherwise this would be a clear case of a desire for
> >(unnecessary, IMHO) optimization being given higher priority than
> >maintaining one of Python's strongest advantages. Speed will *never*
> >be Python's strongest suit, but its dynamicism clearly is; let's not
> >bugger that up!
> Maybe I'm misunderstanding something, but I was under the impression
> that disabling the ability to munge another module's namespace was at
> least partly driven by the desire to enable secure code.
I don't think this was a consideration.
"I quite agree with you," said the Duchess; "and the moral of
that is -- Be what you would seem to be' -- or, if you'd like it put
more simply -- Never imagine yourself not to be otherwise than what it
might appear to others that what you were or might have been was not
otherwise than what you had been would have appeared to them to be
otherwise.'" -- Lewis Carrol, "Alice in Wonderland"
up 13 days, 22:00, 4 users, load average: 1.56, 1.51, 1.46
More information about the Python-list