On Fri, Jul 22, 2011 at 10:53 AM, Glenn Linderman <v+pyt...@g.nevcal.com> wrote: > Ah yes. It means there has to be one more rule for disambiguation, which > Nick supplied. Your case wasn't clear to me from your first description, > however. As long as there is an ordering, and it is documented, it is not > particularly confusing, however.
The genuinely confusing part is that x.py still takes precedence, even if it appears on sys.path *after* x/y.py. However, we're forced into that behaviour by backwards compatibility requirements. The alternative of allowing x/y.py to take precedence has been rejected on those grounds more than once. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com