On 5/25/06, Philipp von Weitershausen <[EMAIL PROTECTED]> wrote:
I think they do pretty much the same thing (but I could be mistaken). Are they interchangeable? If not, are they compatible so that we just add both ways to both files? If they're not compatible, which one should we use in the future?
Looks like no one bothered to answer this. :-( No, they aren't equivalent. The pkg_resources flavor is only effective if pkg_resources is available; I don't think that should be assumed. The pkgutil.extend_path version should be used as the fallback when pkg_resources is not available. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "Every sin is the result of a collaboration." --Lucius Annaeus Seneca _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com