Package Organization (was Re: [Zope3-dev] Voting on Schema design)

Barry A. Warsaw barry@zope.com
Mon, 15 Jul 2002 14:28:01 -0400


>>>>> "Fred" == Fred L Drake, Jr <fdrake@acm.org> writes:

    Fred> Actually, this would ensure the directory containing this
    Fred> would be searched twice before other matching directories
    Fred> were searched, since it will add itself again as the first
    Fred> matching directory.  (__path__ is initialized to contain the
    Fred> directory containing the package as determined by the
    Fred> standard importer.)

You're right (it was a 2 minute experiment ;).

    >> One problem is the inability to answer the question in the
    >> comment, since either answer may be correct depending on the
    >> circumstances.

    Fred> Yes, that's a real problem.

Indeed.
-Barry