Jim Fulton wrote at 2005-11-21 09:43 -0500: > ... >A Python convention is that a leading underscore indicates privateness. > >> - what about import paths inside a same package: relative or absolute? >> >> from mypackage.interfaces import ISomeInterface >> or: >> from interfaces import ISomeInterface > >Absolute always. Until the Python import mechanism is fixed, *always* >use absolute imports.
But, this will make refactoring (moving modules around in the package hierarchy) more difficult. -- Dieter _______________________________________________ Zope3-dev mailing list [email protected] Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
