On Fri, 2009-02-20 at 18:18 +0100, Martijn Faassen wrote:
We discovered this when Christian Theune said he wanted his package __init__.py empty as otherwise he runs into circular import issues. Some of the others including myself were puzzled as we put APIs in __init__.py quite frequently without such problems. Turned out it was because he is using the same convention for imports you do, and we weren't.
The conclusion that I took from that round was that either approach works reasonably well (with its own limitations) by itself, but mixing them increases the chance for import problems a lot. Christian -- Christian Theune · ct@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1 Zope and Plone consulting and development