other python ideas
Greg Ewing
greg at cosc.canterbury.ac.nz
Tue May 23 21:58:55 EDT 2000
"Steven D. Arnold" wrote:
>
> Perhaps we could allow the programmer of a module to specify sets of names
> to be exported. Some conventional export sets would be `*', `interface',
> `standard' and `minimal'.
Routine use of 'import *' is bad for various reasons,
some of which have nothing to do with how exporting is
done. I don't think it would be a good idea to encourage
the practice by providing yet more variations of it...
--
Greg Ewing, Computer Science Dept,
+--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz +--------------------------------------+
More information about the Python-list
mailing list