News for hackers. Stuff that matters.
Re:Google Python Style Guide by sigzero on Saturday May 01, 2010 @06:44PM (#1311366)
Within each grouping, imports should be sorted lexicographically, ignoring case, according to each module's full package path.

  import foo
  from foo import bar
  from foo.bar import baz
  from foo.bar import Quux
  from Foob import ar
That seems kind of time consuming...
Re:Google Python Style Guide by etal on Saturday May 01, 2010 @09:45PM (#1311717)
Some text editors have a function for sorting text in-place. Vim does, and I assume Emacs does too.

Sorting makes it easier to recognize a common grouping of imports (e.g. some recurring functionality that requires three particular modules) without inspecting the words carefully.

Re:Google Python Style Guide by endgame on Sunday May 02, 2010 @09:51AM (#1312454)
Emacs: M-x sort-lines