Explicit or general importing of namespaces?

Paul Rubin http
Mon Feb 28 13:54:02 EST 2005


Peter Hansen <peter at engcorp.com> writes:
> Ultimately more important than mere "pollution" are the
> latent problems this can cause if any of the names in
> the original module can ever be re-bound.

You know, this is another reason the compiler really ought to (at
least optionally) check for such shadowing and have a setting to
enforce user declarations, like perl's "use strict".



More information about the Python-list mailing list