-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Benji York wrote: > On Mon, Jun 16, 2008 at 8:23 AM, Christophe Combelles <[EMAIL PROTECTED]> > wrote: >> Benji York a écrit : >>> On Mon, Jun 16, 2008 at 4:42 AM, Christophe Combelles <[EMAIL PROTECTED]> >>> wrote: >>>> Log message for revision 87419: >>>> 1 include per line >>> Why's that? >> Not extremely important, but it's better for diffs and it allows >> easy-sorting of import lines. (and it's pep8) > > It's not important (i.e., has little value), and not the status quo, > that's why I brought it up. > > It's also not prescribed in PEP-8. In fact PEP-328 > (http://www.python.org/dev/peps/pep-0328/#rationale-for-parentheses) was > introduced -- in part -- to make it easier to import multiple things > from a module. > > I don't think the change should be reverted, but I also wouldn't want > this style to be promulgated.
The main advantage of the style is that any change to the imports in a module creates a full-line diff, which is easeier to read. The cost is extra verbosity. I prefer the full-line diffs myself. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIWF4d+gerLs4ltQ4RAltMAKC/Xn6ZEvgX7koXKGHtcsii0XtiqACfWtHb LDWIuM+GK4sK9OqXfaQnyN8= =sZl/ -----END PGP SIGNATURE----- _______________________________________________ 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 )