[Python-Dev] listcomp / par-for (summary)

Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Wed, 12 Jul 2000 20:32:06 +0300 (IDT)

On Wed, 12 Jul 2000, Paul Prescod wrote:

> > And it's not possible to shadow the builtin like with range.
> You probably shouldn't be able to shadow most builtins period. 

I vehemently disagree. One reason we can add builtins to our hearts
contents is that builtins do not interfere with current code base in a way
that keywords do. OTOH, I see no reason to reward this behaviour: I'm
currently considering an optimization to the interpreter which would mean
that most code would run faster, but code that shadows builtins would run
(This ideas is bouncing around my head for a long while. I'll post here
when I have some semblence of design ready)

Moshe Zadka <moshez@math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.