Scope: Simple and explicit better than nested?

Remco Gerlich scarblac at
Wed Feb 7 12:27:59 EST 2001

rturpin at <rturpin at> wrote in comp.lang.python:
> But to get to THEIR objects would require EXPLICIT scoping:
>     if (builtin.callable(foo)):
>         my_module.doSomething(foo)
> The only unscoped names would be local variables and
> parameters. Period, full stop. That should be easy to
> understand, even for Pascal and SmallTalk programmers.

Having to use builtin.range,,, builtin.repr, etc
etc completely kills the ease of use of Python. And it breaks all existing
code. In short, a very silly idea :-)

Remco Gerlich

More information about the Python-list mailing list