On Apr 9, 2014, at 12:50 PM, Dan Smith <d...@danplanet.com> wrote:

>>> So I'm a soft -1 on dropping it from hacking.
> 
> Me too.
> 
>> from testtools import matchers
>> ...
>> 
>> Or = matchers.Or
>> LessThan = matchers.LessThan
>> ...
> 
> This is the right way to do it, IMHO, if you have something like
> matchers.Or that needs to be treated like part of the syntax. Otherwise,
> module-only imports massively improves the ability to find where
> something comes from.

+1

My eyes bleed when I open up a python script and find 1 million imports for 
individual functions and classes.

- Chris



_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to