other python ideas

Martijn Faassen m.faassen at vet.uu.nl
Tue May 23 07:09:05 EDT 2000


Steven D. Arnold <stevena at permanent.cc> wrote:
[snip]
> The programmer should be able to mark certain names as 
> "not-for-export."  The `*' set would not export such names, though if the 
> module user were to import the name specifically, that would override the 
> "not-for-export" flag.

In fact, Guido used his time machine on reading this post, and it already
exists: just prefix the names you don't want exported with * with an
underscore.

Regards,

Martijn
-- 
History of the 20th Century: WW1, WW2, WW3?
No, WWW -- Could we be going in the right direction?



More information about the Python-list mailing list