On Dec 21, 2009, at 12:03 AM, Jonathan Lange wrote: > Now that we no longer support Python 2.3, may we also allow imports in > the following style? > > from very.long.package import ( > bar, > foo, > )
Separating "from X import" and "Y" over a newline totally breaks grepping for imported modules. I'd not use it myself, purely because of that, except perhaps when the "Y"s are functions in a module, rather than modules. James _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python