namespace issue, Python vs numpy min/max problem

Gregory Ewing greg.ewing at canterbury.ac.nz
Sun Nov 14 18:37:09 EST 2010


Steven D'Aprano wrote:
> It 
> only becomes your problem if you have advised people that the right way 
> to use your module is with import *.

And if you're advising people to do that, it would be an
extremely good idea to give your functions different names
so that they don't conflict with the builtin min and max.

-- 
Greg



More information about the Python-list mailing list