RE: Proposal for new, intrinsic module object attribute: __path__

Hammond, Mark (MHammond@jm.cmutual.com.au)
Fri, 03 Feb 95 09:08:00 PST

> I'm not sure what else to say to substantiate the merits of this
> proposal. Is the current setup - re-path-search on reload -
> deliberate, or just an artifact of convenient implementation? The

I seem to recall someone telling we once that it is hard to determine an
absolute path on all OS' Python runs on.

But I do have the exact same problem. My solution is to insert paths at the
_start_ of sys.path - effectively moving '.' back past the most likely
directories for my modules.

I think your proposal has merit, if it can be cleanly implemented across all
systems.

Mark.