changeset 1294:71f3f22497fe

Merging with head.
author David Warde-Farley <wardefar@iro.umontreal.ca>
date Fri, 01 Oct 2010 11:28:22 -0400
parents 879a5633bb52 (diff) abc7a7e22ead (current diff)
children 7af2a89bff3d
files
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/v2_planning/coding_style.txt	Thu Sep 30 10:18:47 2010 -0400
+++ b/doc/v2_planning/coding_style.txt	Fri Oct 01 11:28:22 2010 -0400
@@ -114,6 +114,10 @@
             from foo import Bar, Blah
          when imported stuff is re-used multiple times in the same file, and
          there is no ambiguity.
+     DWF: One exception I'd like to propose to the "import A as B" moratorium
+          is that we adopt the "import numpy as np" standard that's used in
+          NumPy and SciPy itself. For NumPy heavy code this really cuts down
+	  on clutter, without significant impact on readability (IMHO).
 
    * Imports should usually be on separate lines.
      OD: I would add an exception, saying it is ok to group multiple imports