How to guard against bugs like this one?

Carl Banks pavlovevidence at
Tue Feb 2 21:26:16 CET 2010

On Feb 2, 11:07 am, Jean-Michel Pichavant <jeanmic... at>
> Carl Banks wrote:
> > On Feb 2, 2:49 am, Jean-Michel Pichavant <jeanmic... at>
> > wrote:
> >> Carl Banks wrote:
> >>> Name your modules "" or "" or if it's a
> >>> library module of related functions, "".  Modules and
> >>> scripts do things (usually), they should be given action words as
> >>> names.
> >>> (**) Questionable though it be, if the Standard Library wants to use
> >>> an "innocuous" name, It can.
> >> That does not solve anything,
> > Of course it does, it solves the problem of having poorly-named
> > modules.  It also helps reduce possibility of name clashes.
> Actually don't you think it will increase the possibility ? There are
> much less possibilties of properly naming an object than badly naming it.

You've got to be kidding me, you're saying that a bad name like is less likely to clash than a more descriptive name like

> So if everybody tend to properly name their object with their obvious
> version like you proposed, the set of possible names will decrease,
> increasing the clash ratio.

I did not propose obvious module names.  I said obvious names like are bad; more descriptive names like are

Carl Banks

More information about the Python-list mailing list