On Tue, Apr 14, 2009 at 7:03 PM, Mads Kiilerich <[email protected]> wrote: > Another reason is that demandimport loads namespaces on demand and thus > doesn't work with import *. And this is python with nice namespaces, not php > ;-) "Namespaces are one honking great idea -- let's do more of those!" > > I can't find it written in any Mercurial style guide, but notice that > "import *" hardly is used - only to merge the util.py sub-modules.
The mercurial sources avoid * imports mainly because it defeats demandimport. -- Steve ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
