On Feb 19, 2009, at 12:43 PM, Tres Seaver wrote:
> - -1.  I prefer the PEP8 grouping, where "stdlib" imports are  
> separated
> from "dependecy" imports, which are separated from "local" imports.
> Note that this is *not* subjective (an import is unambiguously in
> exaclty one of those three classifications.)


I find it very subjective, or, at best, orthogonal to anything I care  
about.

If I'm working in a ZEO package, is an import from ZODB local? How  
about transaction?

If I import asyncore or cPickle, is that coming from the standard  
library? It is today, but it wasn't in the past, when the code I'm  
reading may have been written.

The grouping in PEP 8 is based on packaging decisions that are  
irrelevant to the meaning of the software.

Jim

--
Jim Fulton
Zope Corporation


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

Reply via email to