Re: Your opinion

From: R. T. Pierrehumbert <rtp1_at_nyahnyahspammersnyahnyah>
Date: Fri, 24 Sep 2004 12:07:41 -0500

There are lots of cases where "from xxx import *" causes name conflicts,
which is why it's generally discouraged. It's really not that hard
to prepend the Ngl. , especially if the redundant ngl_ prefix is taken

Note that it's also possible to change the way the module
is referenced by using "import Ngl as xxx"

On Thursday, September 23, 2004, at 05:19 PM, Philip Austin wrote:

> fred writes:
>> Implementing this change would pretty much preclude ever using
>> the "from Ngl import *" form, since there would now be lots of
>> possible name clashes, like "end", "contour", etc.
>> We would like to do this, but would making this change at this time
>> be too disruptive?
> I'm strongly in favor of the proposed change --- "from xxx import *"
> is the cause of many queries to the python newsgroup; I think
> most Python coders consider it a near-cardinal sin in
> production code -- regards, Phil

pyngl-talk mailing list
Received on Fri Sep 24 2004 - 14:36:30 MDT

This archive was generated by hypermail 2.2.0 : Thu Jan 19 2006 - 21:30:16 MST