On Apr 19, 2006, at 12:53 PM, Christopher Barker wrote:

> corporate user wrote:
>> I'm forming the opinion that
>> "from XXX import *" should be banned from all introduction, tutorial
>> and example materials.
>
> Actually, it should be banned from virtually ALL user code! But  
> tutorial
> and examples are a start!

It has a strong place in PyObjC, where we're putting our natural  
inclination for multi-layered namespaces aside to fit in with the  
conventions of ObjC's single namespace. At least there (in PyObjC's  
context), it's a natural fit, and I'd much rather it continue to be  
presented as the convention.

I know you said "virtually", but given the fact this is the pythonmac  
mailing list, and PyObjC plays (at least for me) a very big part of  
the Python on Mac landscape, I'd hate to see a ban on what is  
arguably a harmless (and very timesaving!) use of "from x import *".

Zac

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to