On Fri, Jun 8, 2012 at 6:24 PM, Dan Stromberg <drsali...@gmail.com> wrote: > Am I misinterpreting this? It seems like according to the PEP, I should > have still been able to import treap.py despite having a treap/. But I > couldn't; I had to rename treap/ to treap-dir/ first.
Only if treap/ and treap.py were in the same directory. Otherwise it looks like whichever comes first in the search path is imported first. -- Devin -- http://mail.python.org/mailman/listinfo/python-list