How to guard against bugs like this one?

John Nagle nagle at
Fri Feb 5 21:16:46 CET 2010

kj wrote:
> Through a *lot* of trial an error I finally discovered that the
> root cause of the problem was the fact that, in the same directory
> as, there is *another* innocuous little script, totally
> unrelated, whose name happens to be 

    The right answer to this is to make module search return an
error if two modules satisfy the search criteria.  "First find"
isn't a good solution.

				John Nagle

More information about the Python-list mailing list