Best practices with import?

Erik Max Francis max at alcyone.com
Sun Jul 29 01:20:22 EDT 2001


Peter Hansen wrote:

> At least, don't bother thinking about doing it until you can figure
> out why it's needed, because you shouldn't be making it easier for
> someone to do "from yourmodule import *" unless you have very good
> reason.

Couldn't agree more.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ I am a gentlemen:  I live by robbing the poor.
\__/ George Bernard Shaw
    Computer science / http://www.alcyone.com/max/reference/compsci/
 A computer science reference.



More information about the Python-list mailing list