On 11/13/2010 2:41 PM, dmitrey wrote:
hi all,
I have the following problem:
I have overloaded "max" function in my module (FuncDesigner); it works
like following:
if some data in arguments is of type "oofun" then my function works,
elseware numpy.max() is used.

Now the problem:
suppose someone writes
from FuncDesigner import *

Noone should do that unless your module is **explicitly** designed to be *-imported and you docuement that so that they know it is OK.

Now you know why * import is generally discouraged ;-).

--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to