Paul Rubin <http> wrote: > Peter Hansen <[EMAIL PROTECTED]> 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".
As a (mostly) ex-perl user I wouldn't like to see python go there - it seems like a rather slippery slope (like the warnings subsystem). This is surely a job for pychecker / pylint? -- Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick -- http://mail.python.org/mailman/listinfo/python-list