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 Theune · c...@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

Attachment: signature.asc
Description: This is a digitally signed message part

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to